I've got Prometheus running on a bare metal Ubuntu server, no Kubernetes or Docker. I want to monitor a custom hardware BrightSign Player (BSP) via their plugin extensibility solution. I've got the BSP endpoint returning what I believe to be a valid OpenMetrics, though I'm happy to be wrong if this is my problem.
The Targets screen in the Prometheus UI reports that the endpoint is up and I believe the syntax is correct because while developing when I did have a syntax error, there was a relevant error message on this page.
When I search for either of these metrics nothing is returned
This is the relevant bit of prometheus.yml
- job_name: 'bsp-001'
static_configs:
- targets: ['10.1.5.21:8081']
Is there something else necessary for custom metrics to be queryable in Prometheus? I'm brand new to this tool so don't assume I didn't miss something obvious. Thank you!
question from:
https://stackoverflow.com/questions/65906499/custom-prometheus-metrics-not-queryable 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…