Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
2.5.0
-
None
-
Running PMM2 under Docker
OS: Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-46-generic x86_64)
Docker version: 19.03.6-0ubuntu1~18.04.1
-
2
-
Yes
-
Yes
-
No
Description
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
[root@3550a92c2086 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.
Attachments
Issue Links
- relates to
-
PMM-11196 pmm-managed failed to update configuration
-
- Open
-