-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds redis and an example to run it #2096
Conversation
name: otelcol/redis | ||
metrics: | ||
- name: redis/uptime | ||
type: IntMonotonicCumulativeSum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there any attributes we can assert on?
f4f6a63
to
b77e717
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this example reports to o11y I request we hold off until mapping and categorization are completed on the backend to prevent poor experience.
b77e717
to
625b29a
Compare
Please rebase |
# Splunk HTTP Event Collector token. | ||
token: "00000000-0000-0000-0000-0000000000000" | ||
# URL to a Splunk instance to send data to. | ||
endpoint: "https://splunk_redis:8088/services/collector" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
splunk_redis is not defined in the docker compose file.
# For this demo, we use a self-signed certificate on the Splunk docker instance, so this flag is set to true. | ||
insecure_skip_verify: true | ||
signalfx: | ||
# https://aws-otel.github.io/docs/partners/splunk#configuring-signalfx-exporter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
point to our own docs instead, or the official otel contrib repo
1677fea
to
23a523c
Compare
23a523c
to
d6f3be5
Compare
metrics/logging: | ||
receivers: [redis] | ||
processors: [batch] | ||
exporters: [logging] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can write this as:
metrics/both:
receivers: [redis]
processors: [batch]
exporters: [logging, signalfx]
you don't have to and in effect this is going to define the exact same output, but just in case that wasn't an explicit set up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Talked it over with PM and we'd rather get this in the hands of customers now while those go out in parallel. |
Co-authored-by: Antoine Toulme <antoine@toulme.name>
For Splunk employees, see https://signalfuse.atlassian.net/browse/OTL-1570
Adopts redis into splunk's distribution of the otel collector
Add an example to prove it works for good measure
All of the non-example code was resurrected from https://signalfuse.atlassian.net/browse/OTL-915