-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLIP-481][FLINK-37426] Introduce Event Reporting #26316
base: master
Are you sure you want to change the base?
Conversation
...link-metrics-otel/src/main/java/org/apache/flink/events/otel/OpenTelemetryEventReporter.java
Show resolved
Hide resolved
…and implementations.
<td><h5>events.reporter.<name>.filter.includes</h5></td> | ||
<td style="word-wrap: break-word;">"*:*:*"</td> | ||
<td>List<String></td> | ||
<td>The events that should be included for the reporter named <name>. Filters are specified as a list, with each filter following this format:<br /><code class="highlighter-rouge"><scope>[:<name>[,<name>]]</code><br />An event matches a filter if the scope pattern and at least one of the name patterns match.<br /><ul><li>scope: Filters based on the logical scope.<br />Specified as a pattern where <code class="highlighter-rouge">*</code> matches any sequence of characters and <code class="highlighter-rouge">.</code> separates scope components.<br /><br />For example:<br /> "<code class="highlighter-rouge">jobmanager.job</code>" matches any job-related events on the JobManager,<br /> "<code class="highlighter-rouge">*.job</code>" matches all job-related events and<br /> "<code class="highlighter-rouge">*.job.*</code>" matches all events below the job-level (i.e., task/operator events etc.).<br /><br /></li><li>name: Filters based on the event name.<br />Specified as a comma-separate list of patterns where <code class="highlighter-rouge">*</code> matches any sequence of characters.<br /><br />For example, "<code class="highlighter-rouge">*Records*,*Bytes*</code>" matches any event where the name contains <code class="highlighter-rouge">"Records" or "Bytes"</code>.</li></ul></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: comma-separate -> comma separated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice that we are using open telemetry libraries. Can we promote in the docs how we are using open telemetry with this Flip and how it might ease Flink open telemetry adoption.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
What is the purpose of the change
https://cwiki.apache.org/confluence/display/FLINK/FLIP-481%3A+Introduce+Event+Reporting
Brief change log
Please check the individual commit mesages.
Verifying this change
Refactoring is covered by the existing tests. For Events reporting this adds bunch of new tests, including an ITCase integrating with Otel container.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation