Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetricsEndpoint = "0.0.0.0:9090"
)
Variables ¶
View Source
var ( EventsCounter *prometheus.CounterVec ConditionRunTimeSummary *prometheus.SummaryVec ActionRuntimeSummary *prometheus.SummaryVec ActionHandlerRunTimeSummary *prometheus.SummaryVec DownloadBytes *prometheus.CounterVec DownloadRunTimeSummary *prometheus.SummaryVec UploadBytes *prometheus.CounterVec UploadRunTimeSummary *prometheus.SummaryVec StoreQueryErrorCount *prometheus.CounterVec NATSErrors *prometheus.CounterVec )
Functions ¶
func ListenAndServe ¶
func ListenAndServe()
ListenAndServeMetrics exposes prometheus metrics as /metrics
func RegisterSpanEvent ¶ added in v0.0.6
func RegisterSpanEvent(span trace.Span, condition *rctypes.Condition, workerID, serverID, event string)
RegisterSpanEvent adds a span event along with the given attributes.
event here is arbitrary and can be in the form of strings like - publishCondition, updateCondition etc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.