bfmatei / apollo-prometheus-exporter

Plugin for Apollo Server to export metrics in Prometheus format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apollo logs not being flushed

cyrusmahdavi49 opened this issue · comments

We are having trouble where we logs are not being collected for extended periods of time, and we believe that flushing the logs anytime the metrics endpoint is called in the plugin, that this may help alleviate the issue. I'm aware this isn't exactly an issue, but i'm not sure where else I should ask. Thank you!

Tldr How can we get logs to flush (or any code to run) after the /metrics endpoint is called?