Skip to content

easyCZ/aws-sdk-go-prometheus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SDK Go Prometheus Metrics

v1

// Register Prometheus metrics with the sigs.k8s.io/controller-runtime/pkg/metrics registry
sess := v1.WithPrometheusMetrics(session.Must(session.NewSession()), metrics.Registry)

v2

ctx := context.Background()

// Register Prometheus metrics with the sigs.k8s.io/controller-runtime/pkg/metrics registry
cfg = v2.WithPrometheusMetrics(lo.Must(config.LoadDefaultConfig(ctx)), metrics.Registry)

About

AWS SDK Go Metrics for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%