services library

Built-In Services

Classes

AsyncMetricCollector
ConfigPath
Represents a config value path.
ConfigService
Internal service parsing configuration files, command line arguments and environment variables.
ConsoleLogBackend
The default LogBackend implementation.
CounterMetric
A counter metric for use with TelemetryService.
DailySchedule
DiscardTraceExporter
TraceExporter implementation that discards traces.
Event
ExceptionEvent
GaugeMetric
A gauge metric for use with TelemetryService.
GaugeSeries
HistogramMetric
A histogram metric for use with TelemetryService.
KeyService
This service provides a centralized cache for public keys.
LogBackend
Backend interface for LogService.
LogMessage
LogService
DataHubs logging solution.
Metric
MetricCollector
MetricSample
MetricsExporter
OpenTelemetryTraceExporter
PrometheusExporter
RepeatSchedule
Repeated execution with interval Duration.
SampleGroup
Schedule
Defines the schedule for task execution in SchedulerService.
ScheduledTask
SchedulerService
Provides a pattern for creating scheduled execution of tasks.
Span
SpanId
SyncMetricCollector
TelemetryService
Internal service for collecting and exposing application metrics.
TraceExporter
TraceId
Tracer

Enums

Environment
LogLevel
MetricType
OverlapBehaviour
Defines how the SchedulerService should behave when a task is scheduled to run while a previous execution of the same task has not completed yet.
SpanType

Typedefs

Task = FutureOr<void> Function()