Skip to content

Commit a7aeade

Browse files
feat(otelcol): add redisreceiver (#1537)
* chore(otelcol): add redisreceiver * chore: update changelog --------- Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
1 parent 77fb27c commit a7aeade

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ the release.
2121
([#1522](https://github.com/open-telemetry/opentelemetry-demo/pull/1522))
2222
* [frontend] Pass down image optimization requests to imageprovider
2323
([#1522](https://github.com/open-telemetry/opentelemetry-demo/pull/1522))
24+
* [otelcollector] Add `redisreceiver`
25+
([#1537](https://github.com/open-telemetry/opentelemetry-demo/pull/1537))
2426

2527
## 1.9.0
2628

src/otelcollector/otelcol-config.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ receivers:
1313
httpcheck/frontendproxy:
1414
targets:
1515
- endpoint: http://frontendproxy:${env:ENVOY_PORT}
16+
redis:
17+
endpoint: "redis-cart:6379"
18+
collection_interval: 10s
1619

1720
exporters:
1821
debug:
@@ -44,7 +47,7 @@ service:
4447
processors: [batch]
4548
exporters: [otlp, debug, spanmetrics]
4649
metrics:
47-
receivers: [httpcheck/frontendproxy, otlp, spanmetrics]
50+
receivers: [httpcheck/frontendproxy, redis, otlp, spanmetrics]
4851
processors: [batch]
4952
exporters: [otlphttp/prometheus, debug]
5053
logs:

0 commit comments

Comments
 (0)