You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/07 13:52:31 UTC

[GitHub] [skywalking] hanahmily commented on issue #5964: why prometheus fetcher cannot save metrics of the same name for different services

hanahmily commented on issue #5964:
URL: https://github.com/apache/skywalking/issues/5964#issuecomment-739931241


   @wuwenrufeng That's because you didn't **ENABLE** the second rule at https://github.com/apache/skywalking/blob/master/oap-server/server-bootstrap/src/main/resources/application.yml#L272
   
   Even though you enable it, OAP must fail to boot due to metric name confliction like @wu-sheng 's comment, and we have the canonical solution right now -- set https://github.com/apache/skywalking/blob/b5367aa6b1390b3bc7a6549fb80eb97e49db1fae/oap-server/server-bootstrap/src/main/resources/fetcher-prom-rules/self.yaml#L42 to distinct them. And from what you show, you must run the version below 8.3.0. Pls, upgrade your OAP version to use `metricPrefix`.
   


----------------------------------------------------------------
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.

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