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

Support pushing span/trace through to splunk HEC #629

Merged
merged 19 commits into from
Jan 26, 2023
Merged

Support pushing span/trace through to splunk HEC #629

merged 19 commits into from
Jan 26, 2023

Conversation

mr-miles
Copy link
Contributor

I wanted to export spans to our splunk setup from the gateway but the way the chart is currently set up made it difficult to get all the pieces to match up (particularly port declarations across deployment/service/pods) without manually patching each one of them.

So this PR adds tracesIndex/tracesEnabled alongside metricsIndex/metricsEnabled etc so the traces are exported as expected.

Chart is working well in our environment.

@mr-miles mr-miles requested review from a team as code owners January 10, 2023 17:56
@atoulme
Copy link
Contributor

atoulme commented Jan 17, 2023

Thank you for the contribution, we appreciate it.

@atoulme atoulme added the enhancement New feature or request label Jan 17, 2023
Comment on lines +200 to +206
exporters:
{{- if (eq (include "splunk-otel-collector.o11yTracesEnabled" .) "true") }}
- sapm
{{- end }}
{{- if (eq (include "splunk-otel-collector.platformTracesEnabled" .) "true") }}
- splunk_hec/platform_traces
{{- end }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar changes need to be done in the agent config. The gateway is not enabled by default

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good spot! I updated the agent config (we switched to running in gateway mode hence not spotting it)

@dmitryax
Copy link
Contributor

Thanks, @mr-miles. There is no reason to not enable tracing for Splunk Platform destination

@mr-miles
Copy link
Contributor Author

mr-miles commented Jan 20, 2023 via email

Copy link
Contributor

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @mr-miles

@dmitryax dmitryax merged commit daab50e into signalfx:main Jan 26, 2023
@mr-miles mr-miles deleted the traces_hec branch September 17, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants