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

Stackdriver Export #4

Open
pascaldekloe opened this issue Jun 6, 2022 · 0 comments
Open

Stackdriver Export #4

pascaldekloe opened this issue Jun 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pascaldekloe
Copy link
Owner

Metrics could be exported as a time-series submission.

https://cloud.google.com/monitoring/custom-metrics/creating-metrics#writing-ts
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/create

Counter conversion with state tracking is necessary due to span limitations on CUMULATIVE metric writes.

“the end time must not be more than 25 hours in the past”
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TimeInterval

OpenCensus already has a mapping operational.

Authorization is a bit complicated.
https://cloud.google.com/monitoring/docs/reference/libraries#setting_up_authentication
https://github.com/googleapis/google-cloud-go/blob/e6e706ae0e17ee021f241dc31d2b7158a366851f/monitoring/apiv3/v2/metric_client.go#L55

@pascaldekloe pascaldekloe added the enhancement New feature or request label Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant