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

[Datadog] Exporter configuration is incorrect #454

Closed
DazWilkin opened this issue Mar 1, 2019 · 3 comments
Closed

[Datadog] Exporter configuration is incorrect #454

DazWilkin opened this issue Mar 1, 2019 · 3 comments

Comments

@DazWilkin
Copy link

exporters:
    datadog:
        namespace: ocagent
        enable_metrics: true
        enable_tracing: false

So:

  • metrics enabled
  • trace disabled

But, when I run the agent:

./ocagent_linux 
{"level":"info","ts":1551468810.0261667,"caller":"config/config.go:495","msg":"Trace Exporter enabled","exporter":"datadog"}
2019/03/01 11:33:31 Running OpenCensus Trace and Metrics receivers as a gRPC service at "127.0.0.1:55678"
2019/03/01 11:33:31 Running zPages at ":55679"

I'm unsure how to enable metrics.

I have the Datadog statsd agent running on :8125 but it does not appear to receive metrics through the agent using the sample code.

@flands
Copy link
Contributor

flands commented Mar 2, 2019

@DazWilkin
Copy link
Author

Well, that explains that then ;-)

It would be helpful to log an error if the user attempts to enable_metrics?

@flands
Copy link
Contributor

flands commented Jul 3, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants