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/08/26 14:11:26 UTC

[GitHub] [skywalking-satellite] dmsolr commented on a change in pull request #63: fix: remove instance from labels

dmsolr commented on a change in pull request #63:
URL: https://github.com/apache/skywalking-satellite/pull/63#discussion_r696670328



##########
File path: plugins/fetcher/prometheus/metric_family.go
##########
@@ -348,6 +348,7 @@ func isUsefulLabel(mType textparse.MetricType, labelKey string) bool {
 	switch labelKey {
 	case model.MetricNameLabel:
 	case model.InstanceLabel:
+		return false
 	case model.SchemeLabel:
 	case model.MetricsPathLabel:
 	case model.JobLabel:

Review comment:
       This label seems not required too. It is the same as the service name.




-- 
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: notifications-unsubscribe@skywalking.apache.org

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