metrics

package
v0.0.0-...-7df81f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//total traces span data requested from receiver
	TotalTracesSpanDataRequestedFromReceiver = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_otlp_receiver_span_details_traces_requested_total",
		Help: "total traces span data requested from receiver.",
	},
		[]string{"podIp"})

	// TotalFetchRequestsFromSM is the total number of fetch requests received from scenario manager.
	TotalFetchRequestsFromSM = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_otlp_receiver_span_details_fetch_requests_total",
		Help: "total fetch calls received from scenario manager.",
	},
		[]string{"podIp"})

	// TotalFetchRequestsFromSMError is the total number of fetch requests received from scenario manager.
	TotalFetchRequestsFromSMError = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_otlp_receiver_span_details_fetch_requests_error",
		Help: "total fetch calls received from scenario manager.",
	},
		[]string{"podIp"})

	// TotalFetchRequestsFromSMSuccess is the total number of fetch requests received from scenario manager.
	TotalFetchRequestsFromSMSuccess = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_otlp_receiver_span_details_fetch_requests_success",
		Help: "total fetch calls received from scenario manager.",
	},
		[]string{"podIp"})

	// TotalFetchRequestsFromSMError is the total number of fetch requests received from scenario manager.
	TotalSpansProcessed = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_receiver_spans_processed_total",
		Help: "Total spans processed by the receiver.",
	},
		[]string{"podIp"})

	// TotalSpansFiltered is the total number of spans filtered by the receiver.
	TotalSpansFiltered = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "zerok_receiver_spans_filtered_total",
		Help: "Total spans filtered by the receiver.",
	},
		[]string{"podIp"})
)

Functions

func BadgerCollector

func BadgerCollector(namespace string) prometheus.Collector

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL