The recent change #644 broke our metrics exporting. PCF 2.5. Spring 2.1.xx (recent). Exporting via Micrometer to Graphite. Graphite config was to append all tags/values into the path. Paths were then displayed on a Grafana dashboard.
We ended up with:
[prefix].tomcat....cf.account.VALUE.cf.application.VALUE.cf.cluster.VALUE..........Count
Which resulted from the appending of the following tags and values to the path:
- cf account
- cf application
- cf cluster
- cf instance index
- cf space
Took us a while to figure out if it was our code, PCF itself, some other dependency. Finally tracked it down to the build pack. The values still reported to Graphite, but to a different location due to config. This caused all the Grafana dashboards to no longer report data, as the data is now in a new location.
Workaround was to lock in the buildpack version in the manifest.yml to 4.20 with:
buildpacks:
This stopped getting the current master for java-buildpack, and got us out of this change.
It isn't immediately clear how to disable these tags from being exported. If there is one, my appologies for not being familiar. If there isn't, it would be helpful if one could be provided, since Graphite, at least our graphite, doesn't provide a satisfactory way of handling tags that we export, and so we simply concatenate them onto the key in our case.
The recent change #644 broke our metrics exporting. PCF 2.5. Spring 2.1.xx (recent). Exporting via Micrometer to Graphite. Graphite config was to append all tags/values into the path. Paths were then displayed on a Grafana dashboard.
We ended up with:
[prefix].tomcat....cf.account.VALUE.cf.application.VALUE.cf.cluster.VALUE..........Count
Which resulted from the appending of the following tags and values to the path:
Took us a while to figure out if it was our code, PCF itself, some other dependency. Finally tracked it down to the build pack. The values still reported to Graphite, but to a different location due to config. This caused all the Grafana dashboards to no longer report data, as the data is now in a new location.
Workaround was to lock in the buildpack version in the manifest.yml to 4.20 with:
This stopped getting the current master for java-buildpack, and got us out of this change.
It isn't immediately clear how to disable these tags from being exported. If there is one, my appologies for not being familiar. If there isn't, it would be helpful if one could be provided, since Graphite, at least our graphite, doesn't provide a satisfactory way of handling tags that we export, and so we simply concatenate them onto the key in our case.