Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Add support for specifying service name in config #602

Merged
merged 3 commits into from
Jul 20, 2019
Merged

Add support for specifying service name in config #602

merged 3 commits into from
Jul 20, 2019

Conversation

mads-hartmann
Copy link
Contributor

The datadog exporter will currently drop the service name which is specified in the spans. See #198 for more information.

This aligns the datadog exporter with jaeger, wavefront, and zipkin. They already have this option.

A better solution would be to add support for multiple services, as many of the other exporters have, but that is a bit over the level of contribution I can do at the moment.

I've tested this against a live datadog setup and the service name is correctly propagated and displayed in their UI.

If you are okay with this contribution I will update the docs accordingly 😊

The datadog exporter will currently drop the service name which is
specified in the spans. See #198
for more information.

This aligns the datadog exporter with jaeger, wavefront, and zipkin.
They already have this option.

A better solution would be to add support for multiple services, as many
of the other exporters have, but that is a bit over the level of
contribution I can do at the moment.
@codecov
Copy link

codecov bot commented Jul 5, 2019

Codecov Report

Merging #602 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #602      +/-   ##
==========================================
- Coverage   68.87%   68.86%   -0.02%     
==========================================
  Files          92       92              
  Lines        6066     6067       +1     
==========================================
  Hits         4178     4178              
- Misses       1669     1670       +1     
  Partials      219      219
Impacted Files Coverage Δ
exporter/datadogexporter/datadog.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b8085d...a2cd9d2. Read the comment docs.

Copy link

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

Sorry for the delay @mads-hartmann. LGTM.

@mads-hartmann
Copy link
Contributor Author

@pjanotti no problem 😊 thanks for reviewing.

@pjanotti pjanotti merged commit 6b475fc into census-instrumentation:master Jul 20, 2019
@mads-hartmann mads-hartmann deleted the add-service-name-config-to-datadog-exporter branch July 21, 2019 08:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants