Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upInvalid metric name #2281
Comments
This comment has been minimized.
This comment has been minimized.
|
Can you share the metric name that was problematic? |
brian-brazil
added
the
kind/question
label
Dec 14, 2016
This comment has been minimized.
This comment has been minimized.
|
That's all the configuration I have done @brian-brazil, when I enter |
This comment has been minimized.
This comment has been minimized.
|
You application is producing an invalid metric name. This is a bug in the application, can you indicate which client library you're using? |
This comment has been minimized.
This comment has been minimized.
|
I use Payara application server that hosts a Java EE web app. |
This comment has been minimized.
This comment has been minimized.
|
So you're using https://github.com/prometheus/client_java ? |
This comment has been minimized.
This comment has been minimized.
|
Ok @brian-brazil, just figured out the reason of the error - something related with my security restrictions. Thanks for your guidance. |
talhakabakus
closed this
Dec 14, 2016
This comment has been minimized.
This comment has been minimized.
srikanthdixit
commented
Jun 8, 2017
•
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

talhakabakus commentedDec 14, 2016
What did you do?
Just configured a scrape to monitor my web app located at http://localhost:8080/testapp.
What did you expect to see?
The various analysis of my web server
What did you see instead? Under which circumstances?
No result is displayed
Environment
Ubuntu 16.04 LTS
System information:
Linux 4.4.0-31-generic x86_64
Prometheus version:
prometheus, version 1.4.1 (branch: master, revision: 2a89e87)
build user: root@e685d23d8809
build date: 20161128-09:59:22
go version: go1.7.3
Prometheus configuration file:
global:
scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute.
external_labels:
monitor: 'codelab-monitor'
rule_files:
scrape_configs:
job_name: 'payara'
metrics_path: '/testapp'
static_configs: