Skip to content
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

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

hughesjj
Copy link
Contributor

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

@hughesjj hughesjj requested review from a team as code owners October 10, 2022 17:16
name: otelcol/redis
metrics:
- name: redis/uptime
type: IntMonotonicCumulativeSum
Copy link
Contributor

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?

@hughesjj hughesjj force-pushed the add_example_redis_and_sfx branch from f4f6a63 to b77e717 Compare October 10, 2022 17:44
examples/redis/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@rmfitzpatrick rmfitzpatrick left a 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.

@hughesjj hughesjj force-pushed the add_example_redis_and_sfx branch from b77e717 to 625b29a Compare December 14, 2022 11:20
@atoulme
Copy link
Contributor

atoulme commented Dec 15, 2022

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"
Copy link
Contributor

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
Copy link
Contributor

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

@hughesjj hughesjj force-pushed the add_example_redis_and_sfx branch from 1677fea to 23a523c Compare January 4, 2023 00:26
@hughesjj hughesjj force-pushed the add_example_redis_and_sfx branch from 23a523c to d6f3be5 Compare January 4, 2023 00:36
metrics/logging:
receivers: [redis]
processors: [batch]
exporters: [logging]
Copy link
Contributor

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.

Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hughesjj
Copy link
Contributor Author

hughesjj commented Jan 4, 2023

Since this example reports to o11y I request we hold off until mapping and categorization are completed on the backend to prevent poor experience.

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>
@hughesjj hughesjj merged commit 2af0ffd into signalfx:main Jan 4, 2023
@github-actions github-actions bot mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants