Skip to content

Commit

Permalink
feat(otelcol): add redisreceiver (open-telemetry#1537)
Browse files Browse the repository at this point in the history
* chore(otelcol): add redisreceiver

* chore: update changelog

---------

Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
  • Loading branch information
2 people authored and AlexPSplunk committed Jul 10, 2024
1 parent 4aee8c6 commit 296561c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion src/otelcollector/otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ receivers:
httpcheck/frontendproxy:
targets:
- endpoint: http://frontendproxy:${env:ENVOY_PORT}
redis:
endpoint: "redis-cart:6379"
collection_interval: 10s

exporters:
debug:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 296561c

Please sign in to comment.