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 2021/03/23 14:50:42 UTC

[GitHub] [skywalking] wu-sheng commented on issue #6606: [SWCK] Special characters in service selector

wu-sheng commented on issue #6606:
URL: https://github.com/apache/skywalking/issues/6606#issuecomment-804966544


   Recommend to keep label system, due to avoid complex metric name register.
   We could use multiple service labels to assemble the final string.
   ```
     - type: External
       external:
         metric:
           name: service_cpm
           selector:
             matchLabels:
               service_literal_0: "v1"
               service_var_1: "SW_V_VERTIAL_BAR"
               service_literal_2: "productpage"
               service_var_3: "SW_V_VERTIAL_BAR"
               service_literal_4: "bookinfo"
         target:
           type: Value
           value: 80
   ```


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