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

Fix fluentd url for tracing #604

Merged
merged 1 commit into from
May 4, 2020
Merged

Fix fluentd url for tracing #604

merged 1 commit into from
May 4, 2020

Conversation

sumo-drosiek
Copy link
Contributor

Description

Fix for version 1.0

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@sumo-drosiek sumo-drosiek added the bug Something isn't working label May 4, 2020
@sumo-drosiek sumo-drosiek added this to the v1.0 milestone May 4, 2020
@@ -1,4 +1,4 @@
{{- $yamlFile := toYaml $.Values.otelcol.config }}
{{- $fullname := include "sumologic.fullname" . }}
{{- $url := list "http://" $fullname ":9411/api/v2/spans" | join "" }}
{{- $url := list "http://" $fullname "-fluentd-logs:9411/api/v2/spans" | join "" }}
Copy link
Contributor

Choose a reason for hiding this comment

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

So this appends -fluentd-logs to the url and the template is actually being used in both fluentd and otelcol config, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We split metrics and logs in #588 so changed the service names as well.
We are using -fluentd-logs and -fluentd-metrics suffixed services and tracing is going to use the logs one

Copy link
Contributor

Choose a reason for hiding this comment

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

If we use fluentd for traces in the future it will probably get it's own fluentd.

Copy link
Contributor

@perk-sumo perk-sumo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@perk-sumo perk-sumo merged commit 93b125e into master May 4, 2020
@perk-sumo perk-sumo deleted the drosiek-tracing-fix-url branch May 4, 2020 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants