Hi, I am trying to integrate datadog APM with the ...
# pact-broker
b
Hi, I am trying to integrate datadog APM with the pact broker, as we're dealing with slowness and I'd like some runtime metrics to understand where the slowness is coming from. The issue I am running into is that the pact-broker image is built with alpine which is unsupported for datadog apm. I was wondering if there were plans to support a debian based image. I am trying to avoid forking and rebuilding myself. I was also wondering if you would consider supporting a prometheus scrape with runtime metrics from the puma runtime?
Or maybe you have some recommendations for monitoring / observing the pact broker processes that are already supported ? 👼
r
We have recently converted our Pactflow images to a Debian based one, and it embeds the Pact Broker code, so we know it will run on a Debian image.
The main thing is to convert the Docker file to use Debian packages instead of the Alpine ones, the names of the packages can be different.
There are some other small changes required, like the Alpine user management command is different from the Alpine one.
b
Are rebuilding yourselves? I was hoping not to have to manage another image ourselves, it would be great to have an option to use debian images supported by the pact-foundation docker hub
r
Best would be to raise an issue on the Pact Broker GitHub repo
✅ 1
m
I was also wondering if you would consider supporting a prometheus scrape with runtime metrics from the puma runtime?
absolutely. There is https://github.com/ContainerSolutions/pactbroker_exporter, but you might need to add the exporter to either the container (e.g. a script that runs on a schedule and introspects the puma process) or the app itself (e.g. exposed via an endpoint).