Skip to content

Latest commit

 

History

History
 
 

metrics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Prometheus Grafana

Metrics Example

This example shows how you can run Flipt with a Prometheus for metrics and Grafana for visualization.

'Prometheus + Grafana Example'

Requirements

To run this example application you'll need:

Running the Example

  1. Run docker-compose up from this directory
  2. Open the Flipt UI (default: http://localhost:8080)
  3. Create some sample data: Flags/Segments/etc.
  4. Open the Prometheus UI (default: http://localhost:9090/graph)
  5. Enter a sample query in the query input, ex: grpc_server_handled_total{grpc_method="ListFlags"} and press 'Execute'
  6. You should see a graph of requests to ListFlags
  7. Open the Grafana UI (default: http://localhost:3000)
  8. Create a new dashboard (or import from our grafana-dashboards repository)