To have some indepth metrics and log correlation, all the components are now linked to datadog. To configure it you just need to add your Datadog API key (DD_API_KEY
) in the environment variable in the deployments/kubehound/.env
. When the API key is configured, a docker will be created kubehound-dev-datadog
.
All the information being gathered are available at:
- Metrics: https://app.datadoghq.com/metric/summary?filter=kubehound.janusgraph
- Logs: https://app.datadoghq.com/logs?query=service%3Akubehound%20&cols=host%2Cservice&index=%2A&messageDisplay=inline&stream_sort=desc&viz=stream&from_ts=1688140043795&to_ts=1688140943795&live=true
To collect the metrics for Janusgraph an exporter from Prometheus is being used:
They are exposed here:
- Locally: http://127.0.0.1:8099/metrics
- Datadog: https://app.datadoghq.com/metric/summary?filter=kubehound.janusgraph
A mongo express is deployed and allows you to browse the MongoDB. Thi service is accessible (the logs for this docker are not pushed to dd):
In case of conflict/error, or just if you want to free some of your RAM, you can use make system-test-clean
to destroy the backend stack dedicated to the system-test.