You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/01/04 06:17:35 UTC

[GitHub] [incubator-inlong] shink commented on issue #2094: [Bug] summit job failed after enabling Prometheus

shink commented on issue #2094:
URL: https://github.com/apache/incubator-inlong/issues/2094#issuecomment-1004554388


   It seems that this is because these metrics belong to instances rather than classes, so they will be registered repeatedly when creating multiple instances. A simple solution is to make these metrics static.
   
   https://github.com/apache/incubator-inlong/blob/ea29797d36526f735fd7e7e4fa506430b4e79b1e/inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/metrics/SourcePrometheusMetrics.java#L31-L39


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org