Testing codeblocks

Introduction

This is an article.

Internal links work, even with anchoring and self-anchoring.

Syntax highlighting

Ubuntu, Debian CentOS, Red Hat
sudo service datadog-agent restart
sudo systemctl restart datadog-agent
values.yaml values.yaml for Minikube
vector:
  customConfig:
    sinks:
      better_stack_http_sink:
        auth:
          strategy: "bearer"
          token: "$SOURCE_TOKEN"
      better_stack_http_metrics_sink:
        auth:
          strategy: "bearer"
          token: "$SOURCE_TOKEN"
# config for Minikube with disabled TLS
vector:
  customConfig:
    sinks:
      better_stack_http_sink:
        auth:
          strategy: "bearer"
          token: $SOURCE_TOKEN
      better_stack_http_metrics_sink:
        auth:
          strategy: "bearer"
          token: $SOURCE_TOKEN
    sources:
      better_stack_kubernetes_metrics_nodes:
        tls:
          verify_certificate: false
          verify_hostname: false
      better_stack_kubernetes_metrics_pods:
        tls:
          verify_certificate: false
          verify_hostname: false

metrics-server:
  args:
    - --kubelet-insecure-tls

Take a look at Github Docs

 
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.

Set up Logtail
import { Logtail } from "@logtail/browser";
const logtail = new Logtail("$SOURCE_TOKEN");

Hello

So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.

Team token
Your Logtail token is $TOKEN

So I started to walk into the water. I won't lie to you boys, I was terrified.

Ruby PHP Output
require "logtail"

http_device = Logtail::LogDevices::HTTP.new("$SOURCE_TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger; use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$SOURCE_TOKEN"));
123456789 123456789

Water

Hello

So I started to walk into the water. I won't lie to you boys, I was terrified. I was a marine biologist.

Ruby PHP
require "logtail"

http_device = Logtail::LogDevices::HTTP.new("$SOURCE_TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger; use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$SOURCE_TOKEN"));
Example #1 Example #2 Output
require "logtail"

http_device = Logtail::LogDevices::HTTP.new("$SOURCE_TOKEN")
logger = Logtail::Logger.new(http_device)
<?php
require "../vendor/autoload.php";
use Monolog\\Logger; use Logtail\\Monolog\\LogtailHandler;
$logger = new Logger("example-app");
$logger->pushHandler(new LogtailHandler("$SOURCE_TOKEN"));
123456789 123456789

Hello again