我想弄清楚如何给prometheus收集器添加标签。知道我在这里错过了什么吗?我有两个文件: main.go和collector.go# HELP cmd_result Shows the cmd resultcmd_result{host/client_golang/prometheus"
"gith
collector for container "/docker/664af6c4c1998514770371267ba6c117c532a448f6301f14fc53ca9798abff5b", config "prometheus": json: cannot unmarshal object into Go value of type string
它似乎认为我在使用Prometheus配置。我是否应该使用不同的格式来收集度量,并将它们传递给Heapster,因为我的设置中