You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an instrumented service generates lots of metrics (many data points / high cardinality) and is configured to export by HTTP, it would help to limit how many metrics data points are exported with each request by splitting into multiple smaller requests.
Describe the solution you'd like
HTTP OTLPMetricExporter could support a configurable max_export_batch_size, like the gRPC OTLPMetricExporter already does (completed through issue #2710 with PR #2809) -- bonus for exporter consistency.
Describe alternatives you've considered
For some environments it's not possible to switch from HTTP to gRPC export to use the existing batching. For example, the OTel Lambda layer and OTel Operator image for Python are built by pre-installing dependencies (SDK, exporters, etc). It's not reasonable to pre-install grpcio because it requires a C extension specific to each Python version and architecture; layer/image size would bloat and builds would be slow.
Is your feature request related to a problem?
When an instrumented service generates lots of metrics (many data points / high cardinality) and is configured to export by HTTP, it would help to limit how many metrics data points are exported with each request by splitting into multiple smaller requests.
Describe the solution you'd like
HTTP OTLPMetricExporter could support a configurable
max_export_batch_size
, like the gRPC OTLPMetricExporter already does (completed through issue #2710 with PR #2809) -- bonus for exporter consistency.Describe alternatives you've considered
For some environments it's not possible to switch from HTTP to gRPC export to use the existing batching. For example, the OTel Lambda layer and OTel Operator image for Python are built by pre-installing dependencies (SDK, exporters, etc). It's not reasonable to pre-install
grpcio
because it requires a C extension specific to each Python version and architecture; layer/image size would bloat and builds would be slow.Additional Context
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: