tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Add prometheus metrics

Open danielballan opened this issue 4 years ago • 6 comments

Draw inspiration from https://docs.dask.org/en/latest/setup/prometheus.html. Exposing gc metrics in particular seems a good idea.

danielballan avatar Sep 10 '21 11:09 danielballan

I love this.

dylanmcreynolds avatar Sep 10 '21 15:09 dylanmcreynolds

What about also exposing time spent processing requests?

dylanmcreynolds avatar Sep 10 '21 15:09 dylanmcreynolds

Might also be use to count socket and file system reads.

danielballan avatar Sep 11 '21 16:09 danielballan

I wonder if it’s appropriate to use Python audit hooks for that kind of performance tracing.

danielballan avatar Sep 11 '21 16:09 danielballan

We needed to start capturing metrics urgently to make sense of some user reports, so I rushed something into main. Needs docs and refinement.

danielballan avatar Oct 14 '21 16:10 danielballan

The socket and file usage can be observed through a generic node_exporter. I don’t think we need the Tiled application to do anything special there.

Still needs docs.

danielballan avatar Oct 15 '22 12:10 danielballan

Old gist that is relevant: https://gist.github.com/danielballan/1bfb0576781c5671e3b97af2ebafcfa1

danielballan avatar Jan 31 '23 18:01 danielballan

Evidently podman-compose does not support --scale. It seems to silently ignore it, as reported here: https://github.com/containers/podman-compose/issues/267

danielballan avatar Jan 31 '23 18:01 danielballan