diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e8e93f58..e3fabbbe25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ the release. ([#1522](https://github.com/open-telemetry/opentelemetry-demo/pull/1522)) * [frontend] Pass down image optimization requests to imageprovider ([#1522](https://github.com/open-telemetry/opentelemetry-demo/pull/1522)) +* [otelcollector] Add `redisreceiver` + ([#1537](https://github.com/open-telemetry/opentelemetry-demo/pull/1537)) ## 1.9.0 diff --git a/src/otelcollector/otelcol-config.yml b/src/otelcollector/otelcol-config.yml index afe2d712e1..a6aebeb293 100644 --- a/src/otelcollector/otelcol-config.yml +++ b/src/otelcollector/otelcol-config.yml @@ -13,6 +13,9 @@ receivers: httpcheck/frontendproxy: targets: - endpoint: http://frontendproxy:${env:ENVOY_PORT} + redis: + endpoint: "redis-cart:6379" + collection_interval: 10s exporters: debug: @@ -44,7 +47,7 @@ service: processors: [batch] exporters: [otlp, debug, spanmetrics] metrics: - receivers: [httpcheck/frontendproxy, otlp, spanmetrics] + receivers: [httpcheck/frontendproxy, redis, otlp, spanmetrics] processors: [batch] exporters: [otlphttp/prometheus, debug] logs: