Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Exporters include insufficient examples #100

Open
DazWilkin opened this issue Mar 12, 2019 · 0 comments
Open

Exporters include insufficient examples #100

DazWilkin opened this issue Mar 12, 2019 · 0 comments

Comments

@DazWilkin
Copy link

DazWilkin commented Mar 12, 2019

The documentation suggests that, running these examples, will result in metrics to observe.

This isn't so.

https://opencensus.io/exporters/supported-exporters/go/stackdriver/
https://opencensus.io/exporters/supported-exporters/go/prometheus/

I cite the two services with which I'm most familiar but assume it's true of all of them.

The exporters are created correctly by the code and view.Registered but that's all :-(

Some form of view.Register and stats.Record needs to occur for these to emit anything useful.

Recommend adding a little more code.
Perhaps simply reusing the existing example:
https://opencensus.io/quickstart/go/metrics/

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

1 participant