mirror of
https://github.com/prometheus/prometheus
synced 2025-01-30 19:55:53 +00:00
Remove unused metric
This commit is contained in:
parent
d1d5c5c47d
commit
0eabed8048
@ -55,12 +55,6 @@ var (
|
|||||||
},
|
},
|
||||||
[]string{"interval"},
|
[]string{"interval"},
|
||||||
)
|
)
|
||||||
targetSkippedScrapes = prometheus.NewCounter(
|
|
||||||
prometheus.CounterOpts{
|
|
||||||
Name: "prometheus_target_skipped_scrapes_total",
|
|
||||||
Help: "Total number of scrapes that were skipped because the metric storage was throttled.",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
targetReloadIntervalLength = prometheus.NewSummaryVec(
|
targetReloadIntervalLength = prometheus.NewSummaryVec(
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Name: "prometheus_target_reload_length_seconds",
|
Name: "prometheus_target_reload_length_seconds",
|
||||||
@ -94,7 +88,6 @@ var (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
prometheus.MustRegister(targetIntervalLength)
|
prometheus.MustRegister(targetIntervalLength)
|
||||||
prometheus.MustRegister(targetSkippedScrapes)
|
|
||||||
prometheus.MustRegister(targetReloadIntervalLength)
|
prometheus.MustRegister(targetReloadIntervalLength)
|
||||||
prometheus.MustRegister(targetSyncIntervalLength)
|
prometheus.MustRegister(targetSyncIntervalLength)
|
||||||
prometheus.MustRegister(targetScrapePoolSyncsCounter)
|
prometheus.MustRegister(targetScrapePoolSyncsCounter)
|
||||||
|
Loading…
Reference in New Issue
Block a user