Table of Contents

Enum MetricType

Namespace
Moongate.Server.Metrics.Data
Assembly
Moongate.Server.Metrics.dll

Defines the type of a Prometheus metric.

public enum MetricType

Fields

Counter = 0

A cumulative counter that only increases (e.g., total requests processed).

Gauge = 1

A gauge that can go up or down (e.g., current connections).

Histogram = 2

A histogram for measuring distributions (e.g., request latency).