@autter/otlp-ingester 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/latency.js +1 -1
  2. package/package.json +1 -1
package/dist/latency.js CHANGED
@@ -24,7 +24,7 @@ export function normalizeLatencyHistograms(request) {
24
24
  continue;
25
25
  const multiplier = metric.name === "http.server.request.duration" ? 1000
26
26
  : metric.name === "http.server.duration" ? 1 : null;
27
- if (multiplier === null || ![2, "2", "AGGREGATION_TEMPORALITY_DELTA"].includes(metric.histogram?.aggregationTemporality ?? ""))
27
+ if (multiplier === null || ![1, "1", "AGGREGATION_TEMPORALITY_DELTA"].includes(metric.histogram?.aggregationTemporality ?? ""))
28
28
  continue;
29
29
  for (const point of metric.histogram?.dataPoints ?? []) {
30
30
  const bounds = point.explicitBounds ?? [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autter/otlp-ingester",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Self-hostable OTLP + browser-error ingest service for Autter Runtime: normalises telemetry into a per-repo ClickHouse data model",
5
5
  "license": "MIT",
6
6
  "type": "module",