Documentation ¶
Index ¶
- Variables
- func IncrementInt64Counter(metricName api.Int64Counter, value int64)
- func IncrementInt64CounterWithLabel(metricName api.Int64Counter, value int64, labelKey string, labelVal string)
- func IncrementInt64UpDownCounter(metricName api.Int64UpDownCounter, value int64)
- func InitMetrics()
- func SetBytesCountPerIndex(val int64, labelkey string, labelval string)
- func SetEventCountPerIndex(val int64, labelkey string, labelval string)
- func SetEventsMatchedGauge(val int64)
- func SetEventsSearchedGauge(val int64)
- func SetGaugeCurrentBytesReceivedGauge(val int64)
- func SetGaugeCurrentEventCount(val int64)
- func SetGaugeOnDiskBytesGauge(val int64)
- func SetOnDiskBytesPerIndex(val int64, labelkey string, labelval string)
- func SetQueryLatencyMs(val int64, labelkey string, labelval string)
- func SetSegmentLatencyAvgMs(val int64, labelkey string, labelval string)
- func SetSegmentLatencyMaxMs(val int64, labelkey string, labelval string)
- func SetSegmentLatencyMinMs(val int64, labelkey string, labelval string)
- func SetSegmentLatencyP95Ms(val int64, labelkey string, labelval string)
- func SetSegmentMicroindexCountGauge(val int64)
- func SetWriterSegstoreCountGauge(val int64)
Constants ¶
This section is empty.
Variables ¶
View Source
var BYTES_COUNT_PER_INDEX, _ = meter.Int64ObservableGauge(
"ss.bytes.count.per.index",
metric.WithUnit("bytes"),
metric.WithDescription("bytes count per index"))
View Source
var CURRENT_BYTES_RECEIVED, _ = meter.Int64ObservableGauge(
"ss.current.bytes.received",
metric.WithUnit("bytes"),
metric.WithDescription("current count of bytes received"))
View Source
var CURRENT_EVENT_COUNT, _ = meter.Int64ObservableGauge(
"ss.current.event.count",
metric.WithUnit("count"),
metric.WithDescription("Current Count of total num of events"))
View Source
var CURRENT_ON_DISK_BYTES, _ = meter.Int64ObservableGauge(
"ss.current.on.disk.bytes",
metric.WithUnit("bytes"),
metric.WithDescription("current on disk bytes"))
View Source
var EVENTS_MATCHED, _ = meter.Int64ObservableGauge(
"ss.events.matched",
metric.WithUnit("count"),
metric.WithDescription("events matched"))
View Source
var EVENTS_SEARCHED, _ = meter.Int64ObservableGauge(
"ss.events.searched",
metric.WithUnit("count"),
metric.WithDescription("events searched"))
View Source
var EVENT_COUNT_PER_INDEX, _ = meter.Int64ObservableGauge(
"ss.event.count.per.index",
metric.WithUnit("count"),
metric.WithDescription("event count per index"))
View Source
var ON_DISK_BYTES_PER_INDEX, _ = meter.Int64ObservableGauge(
"ss.on.disk.bytes.per.index",
metric.WithUnit("bytes"),
metric.WithDescription("on disk bytes per index"))
View Source
var POST_REQUESTS_COUNT, _ = meter.Int64Counter(
"ss.post.requests.count",
metric.WithUnit("1"),
metric.WithDescription("Counts post requests received"))
View Source
var QUERY_COUNT, _ = meter.Int64Counter(
"ss.query.count",
metric.WithUnit("1"),
metric.WithDescription("query counts"))
View Source
var QUERY_LATENCY_MS, _ = meter.Int64ObservableGauge(
"ss.query.latency.ms",
metric.WithUnit("milliseconds"),
metric.WithDescription("query latency in milliseconds"))
View Source
var S3_DELETED, _ = meter.Int64Counter(
"ss.s3deleted.received",
metric.WithUnit("1"),
metric.WithDescription("s3 deletes received"))
View Source
var S3_DOWNLOADS, _ = meter.Int64Counter(
"ss.s3downloads.received",
metric.WithUnit("1"),
metric.WithDescription("s3 downloads received"))
View Source
var S3_UPLOADS, _ = meter.Int64Counter(
"ss.s3uploads.received",
metric.WithUnit("1"),
metric.WithDescription("s3 uploads received"))
View Source
var SEGFILE_ROTATE_COUNT, _ = meter.Int64Counter(
"ss.segfile.rotate.count",
metric.WithUnit("1"),
metric.WithDescription("segment rotation count"))
View Source
var SEGMENT_LATENCY_AVG_MS, _ = meter.Int64ObservableGauge(
"ss.segment.latency.avg.ms",
metric.WithUnit("milliseconds"),
metric.WithDescription("segment latency avg in ms"))
View Source
var SEGMENT_LATENCY_MAX_MS, _ = meter.Int64ObservableGauge(
"ss.segment.latency.max.ms",
metric.WithUnit("milliseconds"),
metric.WithDescription("segment latency max in ms"))
View Source
var SEGMENT_LATENCY_MIN_MS, _ = meter.Int64ObservableGauge(
"ss.segment.latency.min.ms",
metric.WithUnit("milliseconds"),
metric.WithDescription("segment latency min in ms"))
View Source
var SEGMENT_LATENCY_P95_MS, _ = meter.Int64ObservableGauge(
"ss.segment.latency.p95.ms",
metric.WithUnit("milliseconds"),
metric.WithDescription("segment latency p95 in ms"))
View Source
var SEGMENT_MICROINDEX_COUNT, _ = meter.Int64ObservableGauge(
"ss.segment.microindex.count",
metric.WithUnit("count"),
metric.WithDescription("segment microindex count"))
View Source
var WIP_BUFFER_FLUSH_COUNT, _ = meter.Int64Counter(
"ss.wip.buffer.flush.count",
metric.WithUnit("1"),
metric.WithDescription("wip flush count"))
View Source
var WRITER_SEGSTORE_COUNT, _ = meter.Int64ObservableGauge(
"ss.writer.segstore.count",
metric.WithUnit("count"),
metric.WithDescription("writer segstore count"))
Functions ¶
func IncrementInt64Counter ¶
func IncrementInt64Counter(metricName api.Int64Counter, value int64)
func IncrementInt64CounterWithLabel ¶
func IncrementInt64CounterWithLabel(metricName api.Int64Counter, value int64, labelKey string, labelVal string)
func IncrementInt64UpDownCounter ¶
func IncrementInt64UpDownCounter(metricName api.Int64UpDownCounter, value int64)
func InitMetrics ¶
func InitMetrics()
func SetBytesCountPerIndex ¶
func SetEventCountPerIndex ¶
func SetEventsMatchedGauge ¶
func SetEventsMatchedGauge(val int64)
func SetEventsSearchedGauge ¶
func SetEventsSearchedGauge(val int64)
func SetGaugeCurrentBytesReceivedGauge ¶
func SetGaugeCurrentBytesReceivedGauge(val int64)
func SetGaugeCurrentEventCount ¶
func SetGaugeCurrentEventCount(val int64)
func SetGaugeOnDiskBytesGauge ¶
func SetGaugeOnDiskBytesGauge(val int64)
func SetOnDiskBytesPerIndex ¶
func SetQueryLatencyMs ¶
func SetSegmentLatencyAvgMs ¶
func SetSegmentLatencyMaxMs ¶
func SetSegmentLatencyMinMs ¶
func SetSegmentLatencyP95Ms ¶
func SetSegmentMicroindexCountGauge ¶
func SetSegmentMicroindexCountGauge(val int64)
func SetWriterSegstoreCountGauge ¶
func SetWriterSegstoreCountGauge(val int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.