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

Add Batch Limit for Stackdriver Exporter #87

Closed
TigerHe7 opened this issue Jun 8, 2020 · 0 comments · Fixed by #88
Closed

Add Batch Limit for Stackdriver Exporter #87

TigerHe7 opened this issue Jun 8, 2020 · 0 comments · Fixed by #88
Assignees
Labels
bug Something isn't working

Comments

@TigerHe7
Copy link
Contributor

TigerHe7 commented Jun 8, 2020

Quote by @mluggy:

"
On high-velocity metrics, you get:
UnhandledPromiseRejectionWarning: Error: Field timeSeries had an invalid value: A maximum of 200 TimeSeries can be written in a single request.

Apparently Stackdriver backend has the limit that each request cannot batch more than 200 time series so exporter needs to do some processing. For example https://github.com/census-instrumentation/opencensus-java/blob/9b2ac2bdc9565517155a9efb1b8581d1a91329dc/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/CreateTimeSeriesExporter.java#L76-L77.

Using 0.0.16.
"

Previous issue in OpenCensus:
census-instrumentation/opencensus-node#634

Previous implementation in OpenCensus:
census-instrumentation/opencensus-node#644

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 a pull request may close this issue.

1 participant