Hi Sachin,

Your setting looks fine to me. If you want to verify that, one way is to
set the log level to 'trace' and check if logs like 'Ignoring metric {}.{}
for reporter #{} due to filter rules.' is printed.

Best,
Biao Geng


Sachin Mittal <sjmit...@gmail.com> 于2024年5月12日周日 02:51写道:

> Hi
> I have a following metrics configuration:
>
> metrics.reporters: stsd
> metrics.reporter.stsd.factory.class:
> org.apache.flink.metrics.statsd.StatsDReporterFactory
> metrics.reporter.stsd.host: localhost
> metrics.reporter.stsd.port: '8125'
> metrics.reporter.stsd.filter.excludes: *.operator:*:*
>
> metrics.scope.jm: jm
> metrics.scope.jm-job: jm.<job_name>
> metrics.scope.tm: tm
> metrics.scope.tm-job: tm.<job_name>
> metrics.scope.task: tm.<job_name>.<task_name>.<subtask_index>
> metrics.scope.operator: tm.<job_name>.<operator_name>.<subtask_index>
>
> I would like to exclude operator level metrics from getting reported via
> statsd reporter.
> Can anyone please confirm that my setting for 
> metrics.reporter.stsd.filter.excludes
> is correct in achieving the same.
>
> Thanks
> Sachin
>
>

Reply via email to