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

Support specifying batch limit #634

Closed
@mluggy

Description

@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.

Activity

mayurkale22

mayurkale22 commented on Aug 27, 2019

@mayurkale22
Member

@mluggy Thanks for reporting this! I managed to repro the issue. I have opened the PR #644 to address this, Please take a look when you have a time.

mluggy

mluggy commented on Sep 2, 2019

@mluggy
Author

looks awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @mluggy@mayurkale22

      Issue actions

        Support specifying batch limit · Issue #634 · census-instrumentation/opencensus-node