-
Notifications
You must be signed in to change notification settings - Fork 151
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
Conversation
Thank you for the contribution, we appreciate it. |
helm-charts/splunk-otel-collector/templates/config/_otel-collector.tpl
Outdated
Show resolved
Hide resolved
helm-charts/splunk-otel-collector/templates/config/_otel-collector.tpl
Outdated
Show resolved
Hide resolved
exporters: | ||
{{- if (eq (include "splunk-otel-collector.o11yTracesEnabled" .) "true") }} | ||
- sapm | ||
{{- end }} | ||
{{- if (eq (include "splunk-otel-collector.platformTracesEnabled" .) "true") }} | ||
- splunk_hec/platform_traces | ||
{{- end }} |
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.
Similar changes need to be done in the agent config. The gateway is not enabled by default
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.
good spot! I updated the agent config (we switched to running in gateway mode hence not spotting it)
Thanks, @mr-miles. There is no reason to not enable tracing for Splunk Platform destination |
@dmitryax good spot! I updated the agent config (we were running in
gateway mode hence not spotting it)
…On Fri, Jan 20, 2023 at 7:39 AM Dmitrii Anoshin ***@***.***> wrote:
Thanks, @mr-miles <https://github.com/mr-miles>. There is no reason to
not enable tracing for Splunk Platform destination
—
Reply to this email directly, view it on GitHub
<#629 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQD4HQROVA7NQKEP3RBVLWTI6J3ANCNFSM6AAAAAATXDFOL4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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. Thanks, @mr-miles
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.