From 28402b69dfd214630562c3fe1ab809bd11f92478 Mon Sep 17 00:00:00 2001 From: Adnan Rahic Date: Tue, 15 Aug 2023 14:43:25 +0200 Subject: [PATCH 1/2] examples(honeycomb): update sample --- examples/tracetest-honeycomb/collector.config.yaml | 4 ++-- examples/tracetest-honeycomb/docker-compose.yaml | 2 +- examples/tracetest-honeycomb/test-api.yaml | 3 +-- examples/tracetest-honeycomb/tracetest-provision.yaml | 9 +++++++++ 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/examples/tracetest-honeycomb/collector.config.yaml b/examples/tracetest-honeycomb/collector.config.yaml index fdae3afbf4..7f530f6b31 100644 --- a/examples/tracetest-honeycomb/collector.config.yaml +++ b/examples/tracetest-honeycomb/collector.config.yaml @@ -10,7 +10,7 @@ processors: exporters: logging: - logLevel: debug + loglevel: debug # OTLP for Tracetest otlp/tracetest: endpoint: tracetest:4317 # Send traces to Tracetest. Read more in docs here: https://docs.tracetest.io/configuration/connecting-to-data-stores/opentelemetry-collector @@ -20,7 +20,7 @@ exporters: otlp/honeycomb: endpoint: "api.honeycomb.io:443" headers: - "x-honeycomb-team": + "x-honeycomb-team": JxS9O6mHbdml8Mi3x2JWwB # "x-honeycomb-dataset": "" # optional # Read more in docs here: https://docs.honeycomb.io/getting-data-in/otel-collector/ diff --git a/examples/tracetest-honeycomb/docker-compose.yaml b/examples/tracetest-honeycomb/docker-compose.yaml index 0b090bb193..f0a998a174 100644 --- a/examples/tracetest-honeycomb/docker-compose.yaml +++ b/examples/tracetest-honeycomb/docker-compose.yaml @@ -47,7 +47,7 @@ services: - 5432:5432 otel-collector: - image: otel/opentelemetry-collector-contrib:0.59.0 + image: otel/opentelemetry-collector-contrib:0.82.0 command: - "--config" - "/otel-local-config.yaml" diff --git a/examples/tracetest-honeycomb/test-api.yaml b/examples/tracetest-honeycomb/test-api.yaml index 8365c224dd..6bd91b31ac 100644 --- a/examples/tracetest-honeycomb/test-api.yaml +++ b/examples/tracetest-honeycomb/test-api.yaml @@ -1,8 +1,7 @@ type: Test spec: id: W656Q0c4g - name: http://app:8080 - description: akadlkasjdf + name: Test API trigger: type: http httpRequest: diff --git a/examples/tracetest-honeycomb/tracetest-provision.yaml b/examples/tracetest-honeycomb/tracetest-provision.yaml index 9358e706c2..81dc652d04 100644 --- a/examples/tracetest-honeycomb/tracetest-provision.yaml +++ b/examples/tracetest-honeycomb/tracetest-provision.yaml @@ -14,3 +14,12 @@ spec: name: Honeycomb type: honeycomb default: true + +--- +type: TestRunner +spec: + id: current + name: default + requiredGates: + - analyzer-score + - test-specs From 1126f890bc09ef2b13994ed8435e2e18aa9c8268 Mon Sep 17 00:00:00 2001 From: Adnan Rahic Date: Tue, 15 Aug 2023 16:42:32 +0200 Subject: [PATCH 2/2] examples(honeycomb): fix api key --- examples/tracetest-honeycomb/collector.config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tracetest-honeycomb/collector.config.yaml b/examples/tracetest-honeycomb/collector.config.yaml index 7f530f6b31..25c5b74b55 100644 --- a/examples/tracetest-honeycomb/collector.config.yaml +++ b/examples/tracetest-honeycomb/collector.config.yaml @@ -20,7 +20,7 @@ exporters: otlp/honeycomb: endpoint: "api.honeycomb.io:443" headers: - "x-honeycomb-team": JxS9O6mHbdml8Mi3x2JWwB + "x-honeycomb-team": # "x-honeycomb-dataset": "" # optional # Read more in docs here: https://docs.honeycomb.io/getting-data-in/otel-collector/