Flipt exposes Prometheus metrics by default at the /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:
Flipt supports sending metrics to an OTLP collector.OTLP supports additional configuration such as specifying the protocol to use (gRPC or HTTP) as well as providing custom headers to send with the request.Custom headers can be used to provide authentication information to the collector which may be required if you are using a hosted collector such as NewRelic, DataDog, or Honeycomb.These can be configured via the metrics.otlp configuration section.
We provide a set of Grafana dashboards that you can use to visualize the metrics collected by Flipt, including both server health and flag evaluation metrics.You can find the dashboards in our grafana-dashboards repository.
The format can be configured via the log.encoding configuration option.
log: encoding: json
For production deployments, we recommend using the JSON format as it’s easier to parse and ingest into log aggregation systems such as Elasticsearch, Splunk, Loki, or Datadog.We’ve prepared an example showing how to set up Flipt with Grafana Loki and Promtail to ingest and query logs.
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.
Enable tracing via the values described in the Tracing configuration and point Flipt to your configured collector to record spans.Examples showing how to set up Flipt with each of the supported tracing backends can be found in the main GitHub repository .
OTLP supports additional configuration such as specifying the protocol to use (gRPC or HTTP) as well as providing custom headers to send with the request.Custom headers can be used to provide authentication information to the collector which may be required if you are using a hosted collector such as NewRelic, Datadog, or Honeycomb.These can be configured via the tracing.otlp configuration section.