summaryrefslogtreecommitdiffstats
path: root/fluent-bit/examples/tracing
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /fluent-bit/examples/tracing
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/examples/tracing')
-rw-r--r--fluent-bit/examples/tracing/docker-compose.yml26
-rwxr-xr-xfluent-bit/examples/tracing/enable-tracing.sh21
-rw-r--r--fluent-bit/examples/tracing/fluent-bit.conf14
3 files changed, 0 insertions, 61 deletions
diff --git a/fluent-bit/examples/tracing/docker-compose.yml b/fluent-bit/examples/tracing/docker-compose.yml
deleted file mode 100644
index 94d006349..000000000
--- a/fluent-bit/examples/tracing/docker-compose.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-version: "3"
-
-services:
- fluent-bit:
- build:
- context: ../..
- dockerfile: dockerfiles/Dockerfile
- args:
- - FLB_CHUNK_TRACE=On
- ports:
- - "2020:2020"
- volumes:
- - ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
- command:
- - /fluent-bit/bin/fluent-bit
- - -Z
- - -c
- - /fluent-bit/etc/fluent-bit.conf
-
- enable-tracing:
- image: ubuntu:20.04
- command: /enable-tracing.sh
- volumes:
- - ./enable-tracing.sh:/enable-tracing.sh:ro
- environment:
- REMOTE_HOST: fluent-bit
diff --git a/fluent-bit/examples/tracing/enable-tracing.sh b/fluent-bit/examples/tracing/enable-tracing.sh
deleted file mode 100755
index 5bff2b90f..000000000
--- a/fluent-bit/examples/tracing/enable-tracing.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-set -eu
-
-REMOTE_HOST=${REMOTE_HOST:-127.0.0.1}
-
-if command -v http &> /dev/null ; then
- http -v "$REMOTE_HOST":2020/api/v1/trace/dummy.0 output=stdout prefix=trace. params:='{"format":"json"}'
-elif command -v curl &> /dev/null ; then
- curl --header 'Content-Type: application/json' --data '{"output": "stdout", "params": { "format": "json" }, "prefix": "trace."}' "$REMOTE_HOST":2020/api/v1/trace/dummy.0
-else
- echo "No curl or httpie installed"
- if command -v apt-get &> /dev/null ; then
- apt-get -qq update
- apt-get -qq install -y curl
- elif command -v yum &> /dev/null ; then
- yum install -y curl
- else
- exit 1
- fi
- curl --header 'Content-Type: application/json' --data '{"output": "stdout", "params": { "format": "json" }, "prefix": "trace."}' "$REMOTE_HOST":2020/api/v1/trace/dummy.0
-fi
diff --git a/fluent-bit/examples/tracing/fluent-bit.conf b/fluent-bit/examples/tracing/fluent-bit.conf
deleted file mode 100644
index 0d83db70d..000000000
--- a/fluent-bit/examples/tracing/fluent-bit.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-[SERVICE]
- Http_Server On
-
-[INPUT]
- Name dummy
-
-[FILTER]
- Name record_modifier
- Match *
- Record foo bar
-
-[OUTPUT]
- Name stdout
- Match *