On 2021-03-09 09:28, Andrew Fielden wrote:
> Thanks for the suggestion, mtail looks useful. However the log files
> are only produced when the system being monitored is sent a SIGINT
> signal. I wonder if mtail can handle that?
>
Is it that the logs are only produced when you send SIGINT for a
"current snapshot" of the status of the application, or is it that logs
are emitted for a period of time?
If the second, Prometheus doesn't have the ability to ingest chunks of
data over periods of time (just the "current" data). There is some
experimental work ongoing for one-time backfilling of data, but that
equally probably wouldn't be suitable for regular ingestion.
--
Stuart Clark