You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@flagon.apache.org by "brucearctor (via GitHub)" <gi...@apache.org> on 2026/10/11 15:54:49 UTC
[PR] fix(distill): support UserALE v2.4/v2.5 fields and normalize Proto-JSON v1 and OTLP/JSON payloads (flagon)
brucearctor opened a new pull request, #187:
URL: https://github.com/apache/flagon/pull/187
## Summary
Updates Apache Flagon Distill's `distill.schemas.userale` (`UserAleBaseSchema`, `UserAleRawSchema`, `UserAleIntervalSchema`) so Distill seamlessly validates and normalizes logs from UserALE.js v2.4.0 / v2.5.0 as well as the new Protobuf v1 JSON (`ProtoJsonExporter`) and OpenTelemetry OTLP/JSON (`OtlpJsonExporter`) wire formats:
- **UserALE v2.4/v2.5 Compatibility**:
- Removes the restrictive `lt=2` constraint on `micro_time` and accepts `float` values produced by `performance.now()`.
- Accepts arbitrary `details` dictionaries/strings rather than requiring `{"window": bool}`.
- Allows extra fields (`extra="allow"`, e.g. `userAgent`, `attributes`, `style`, `traceId`, `spanId`, custom fields) and nullable session/user fields while preserving 100% round-trip serialization compatibility with existing v2.3 test fixtures.
- **Multi-Format Normalization (`normalize_userale_dict` & `extract_logs`)**:
- Automatically normalizes Protobuf v1 JSON (`apache.flagon.userale.v1.UserALELog` / `LogBatch`) and OpenTelemetry OTLP/JSON (`LogRecord` / `ExportLogsServiceRequest`) payloads into Distill's flat `UserAleSchema` representation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For additional commands, e-mail: pr-help@flagon.apache.org
Re: [PR] fix(distill): support UserALE v2.4/v2.5 fields and normalize Proto-JSON v1 and OTLP/JSON payloads (flagon)
Posted by "brucearctor (via GitHub)" <gi...@apache.org>.
brucearctor merged PR #187:
URL: https://github.com/apache/flagon/pull/187
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For additional commands, e-mail: pr-help@flagon.apache.org