Grafana - Metrics
Overview
Grafana displays metrics that KrakenD exports to InfluxDB. You can visualize request rates, response times, error rates, and other performance metrics.Access
- URL: http://localhost:4000
- Port: 4000 (mapped from container port 3000)
- Default Credentials:
admin/admin
Data Source
Grafana is pre-configured with InfluxDB as a data source:- Database:
krakend - InfluxDB User:
krakend-dev - InfluxDB Password:
pas5w0rd
Pre-configured dashboards for KrakenD metrics are automatically provisioned from
config/grafana/krakend/.Kibana - Logs
Overview
Kibana visualizes logs that KrakenD sends to Logstash, which stores them in Elasticsearch. You can search, filter, and analyze log entries to debug issues and understand request flows.Access
- URL: http://localhost:5601
- Port: 5601
- Credentials: No authentication required
Log Pipeline
The logging stack consists of:- KrakenD - Sends logs via GELF to Logstash
- Logstash (port 12201/udp, 5044) - Processes and forwards logs
- Elasticsearch (port 19200) - Stores log data
- Kibana (port 5601) - Visualizes and searches logs
Importing the Dashboard
To import a pre-configured Kibana dashboard with valuable metrics:Elasticsearch Configuration
Elasticsearch runs in single-node mode with security disabled for ease of use:Jaeger - Distributed Tracing
Overview
Jaeger shows distributed traces of requests flowing through KrakenD to backend services. You can see the complete request journey, including timing for each hop and service interaction.Access
- URL: http://localhost:16686
- Port: 16686 (UI)
- Additional Port: 14268 (collector)
- Credentials: No authentication required
What You Can See
Jaeger traces include:- Request path through KrakenD and backends
- Timing for each service call
- Parent-child relationships between spans
- Service dependencies
- Performance bottlenecks
Using Jaeger
- Open http://localhost:16686
- Select “krakend” from the Service dropdown
- Click “Find Traces”
- Click on any trace to see detailed timing information
Jaeger automatically receives traces from KrakenD through OpenTelemetry integration. No additional configuration needed.
Observability Summary
| Service | Purpose | Port | Credentials |
|---|---|---|---|
| Grafana | Metrics visualization | 4000 | admin / admin |
| InfluxDB | Metrics storage | 8086 | See config |
| Kibana | Log visualization | 5601 | None |
| Elasticsearch | Log storage | 19200 | None |
| Logstash | Log processing | 12201 (UDP), 5044 | None |
| Jaeger | Distributed tracing | 16686 | None |
All observability services start automatically with the playground. Make some requests to KrakenD endpoints to generate telemetry data.