Skip to content

Commit

Permalink
Removing unneeded metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Sep 13, 2023
1 parent c290326 commit 253d0be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"os"

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/collectors"
)

const (
Expand Down Expand Up @@ -39,11 +38,6 @@ func NewMetrics(info InstanceInfo) *Metrics {
m := &Metrics{}

m.registry = prometheus.NewRegistry()
options := collectors.ProcessCollectorOpts{
Namespace: MetricsNamespace,
}
m.registry.MustRegister(collectors.NewProcessCollector(options))
m.registry.MustRegister(collectors.NewGoCollector())

additionalLabels := map[string]string{}
if info.InstallationID != "" {
Expand Down

0 comments on commit 253d0be

Please sign in to comment.