This document describes how to configure Flipt’s observability mechanisms including metrics, logging, and tracing.
/metrics
HTTP endpoint. To see which metrics are currently supported, point your browser
to FLIPT_HOST/metrics
(ex: localhost:8080/metrics
).
You should see a bunch of metrics being recorded such as:
metrics.enabled
configuration option to false
.metrics.otlp
configuration section.
log.encoding
configuration option.
L
: Level (log level). Possible values include: debug, info, warn, error, fatal, and panic.T
: Timestamp. The timestamp is in ISO 8601 format, widely used for representing date and time. It includes the date, time, and time zone information. For example, “2024-01-20T21:59:49-05:00” represents the date and time in the Eastern Time Zone (UTC-5).M
: Message. The message describes the log event. It can include information about the operation, errors encountered, or other relevant details.tracing.otlp
configuration section.
OTEL_SERVICE_NAME
- Sets the value of the service.name
resource attribute (default: flipt
)OTEL_RESOURCE_ATTRIBUTES
- Key-value pairs to be used as resource attributes.