Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid metric name "collectd_docker_cpu.percent & invalid metric name "collectd_mesos-slave_bytes" #2929

Closed
vishksaj opened this Issue Jul 10, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@vishksaj
Copy link

vishksaj commented Jul 10, 2017

What did you see instead? Under which circumstances?

Configured prometheus for dev environment could see that prometheus is not accepting metrics with '-' and '.' is there any way to fix this issue using collectd exporter (https://github.com/signalfx/docker-collectd-plugin) in target ( Write Http : JSON )

Environment --Dev

  • System information:

Linux 3.10.0-514.10.2.el7.x86_64 x86_64

  • Prometheus version:

1.7.1

  • Prometheus configuration file:
lobal:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
rule_files:
- /etc/prometheus/cpu.rules
scrape_configs:
- job_name: collectd
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 192.168.3.16:9103
@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 10, 2017

These are invalid metric names, I'd suggest filing a bug with the metric provider to sanitise them to underscores.

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.