Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CloudwatchAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_requests_total", Help: "Help is not implemented yet.", }) CloudwatchAPIErrorCounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_request_errors", Help: "Help is not implemented yet.", }) CloudwatchGetMetricDataAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_getmetricdata_requests_total", Help: "Help is not implemented yet.", }) CloudwatchGetMetricStatisticsAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_getmetricstatistics_requests_total", Help: "Help is not implemented yet.", }) ResourceGroupTaggingAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_resourcegrouptaggingapi_requests_total", Help: "Help is not implemented yet.", }) AutoScalingAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_autoscalingapi_requests_total", Help: "Help is not implemented yet.", }) TargetGroupsAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_targetgroupapi_requests_total", Help: "Help is not implemented yet.", }) APIGatewayAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_apigatewayapi_requests_total", }) Ec2APICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_ec2api_requests_total", Help: "Help is not implemented yet.", }) ManagedPrometheusAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_managedprometheusapi_requests_total", Help: "Help is not implemented yet.", }) StoragegatewayAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_storagegatewayapi_requests_total", Help: "Help is not implemented yet.", }) DmsAPICounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "yace_cloudwatch_dmsapi_requests_total", Help: "Help is not implemented yet.", }) )
Functions ¶
func PromString ¶
Types ¶
type PrometheusCollector ¶
type PrometheusCollector struct {
// contains filtered or unexported fields
}
func NewPrometheusCollector ¶
func NewPrometheusCollector(metrics []*PrometheusMetric) *PrometheusCollector
func (*PrometheusCollector) Collect ¶
func (p *PrometheusCollector) Collect(metrics chan<- prometheus.Metric)
func (*PrometheusCollector) Describe ¶
func (p *PrometheusCollector) Describe(descs chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.