Not the answer you need?
Register and ask your own question!

Is relabeling function broken in PMM 2.5.0 April 14?

b4buFr1kb4buFr1k Current User Role Supporter
I readed in: https://www.percona.com/blog/2020/03/23/extending-pmm-prometheus-configuration/
In the next release, we will use our own code for configuration parser. It is a separate Go library that can be useful for the community.
I have updated today my PMM2 server and i get yml parsing errors:
/srv/logs/pmm-managed.log
  line 21: cannot unmarshal !!seq into string
  line 41: cannot unmarshal !!seq into string
  line 43: cannot unmarshal !!seq into string
  line 45: cannot unmarshal !!seq into string
That lines are relabeling ones in my custom prometheus configuration file:
/srv/prometheus/prometheus.base.yml
[[email protected] opt]# cat /srv/prometheus/prometheus.base.yml
---
scrape_configs:
- job_name: blackbox80
  params:
    module:
    - http_2xx
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /probe
  scheme: http

  static_configs:
  - targets:
    - www.alfaexploit.com
  metrics_path: "/archive"

  relabel_configs:
  - source_labels: [__address__]
    target_label: __param_target
  - source_labels: [__param_target]
    target_label: instance
  - source_labels: [__param_target]
    target_label: node_name
  - target_label: __address__
    replacement: grafana2.adsalsa.net:9115
In previous version it worked without problems.
Is it broken, is there another way to do relabeling with that new PMM2 version?

Answers

  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    Hello @b4buFr1k
    Thanks for bringing this to our attention. I wonder if you would be good enough to report that as a bug via our Jira system? That's where the engineering team controls their work.  Here's the link: https://jira.percona.com and there's some guidelines here that might help. By reporting to Jira you will be kept informed on the bug review and progress through to a fix. If you return here and post the link to the Jira post that would be fantastic and I'll award you a bug hunter badge... you might be the first to receive it   :D  
  • b4buFr1kb4buFr1k Current User Role Supporter
    Hello
    I have opened the jira ticket:
    https://jira.percona.com/browse/PMM-5812

  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    Great thank you! Sorry your posts were still being moderated but I will verify your user now. And award you the FIRST EVER Forum bug hunter badge  B)
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.