Jimdo / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
281 stars 213 forks source link

Fix incorrect cast after json_decode #46

Closed crazycodr closed 7 years ago

crazycodr commented 7 years ago

Force array cast in sample labels Fixes https://github.com/Jimdo/prometheus_client_php/issues/45

daemonfire300 commented 7 years ago

Encountered this problem today too.

Ubuntu 14.04 LTS PHP 7.0 with phpredis