opentelemetry-js
opentelemetry-js copied to clipboard
Allow increasing max batch size for metric exporter.
We are running into max metric batch exporting size.
PeriodicExportingMetricReader: metrics export failed (error Error: 8 RESOURCE_EXHAUSTED: grpc: received message larger than max (8081061 vs. 4194304))\n at doExport (/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:75:23)
In Python for example the option to edit exists
Seems that currently only mitigation options are:
- Sending less metrics in the batch export window
- Reducing histogram metric View bucket resolution??
An example of another project that made this change for reference for making a PR: https://github.com/Azure/azure-functions-nodejs-worker/pull/62
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stale for 14 days with no activity.