metric namespace 설정 추가

This commit is contained in:
2023-11-26 18:02:02 +09:00
parent 72b88b194f
commit cf4b458a4b
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ func (hc *houstonClient) launch(meta *procmeta) error {
if _, registered := metricValues[metric.Key]; !registered {
exporter := newExporterForPrometheus()
accessor := exporter.registMetric(childProcName, metric)
accessor := exporter.registMetric(hc.config.MetricNamespace, metric)
prometheus.Register(exporter)