mateczagany opened a new pull request, #26348:
URL: https://github.com/apache/flink/pull/26348
## What is the purpose of the change
Some OpenTelemetry classes are missing when trying to use OpenTelemetry as
metrics/trace reporter. From what I've seen in other metrics plugins, these
classes are shaded using this same plugin configuration.
## Brief change log
- Add `maven-shade-plugin` step to metrics-otel package to shade the
required dependencies.
## Verifying this change
- I have verified it manually by patching the `metrics-otel` jar file on the
released 2.0 Flink image, with these 3 added rules, trace/metrics collection
worked as expected.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]