Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/component/prometheus/operator/podmonitors/operator.go
5340 views
1
package podmonitors
2
3
import (
4
"github.com/grafana/agent/component"
5
"github.com/grafana/agent/component/prometheus/operator"
6
"github.com/grafana/agent/component/prometheus/operator/common"
7
)
8
9
func init() {
10
component.Register(component.Registration{
11
Name: "prometheus.operator.podmonitors",
12
Args: operator.Arguments{},
13
14
Build: func(opts component.Options, args component.Arguments) (component.Component, error) {
15
return common.New(opts, args, common.KindPodMonitor)
16
},
17
})
18
}
19
20