Package: prometheus-sql-exporter / 0.2.0.ds-6

Metadata

Package Version Patches format
prometheus-sql-exporter 0.2.0.ds-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
synchronous jobs | (download)

config.go | 2 2 + 0 - 0 !
handler.go | 35 35 + 0 - 0 !
job.go | 38 32 + 6 - 0 !
main.go | 5 2 + 3 - 0 !
4 files changed, 71 insertions(+), 9 deletions(-)

 add synchronous jobs
 We needed a possibility to execute some jobs / queries synchronous every time
 /metrics is requested. So I added the infrastructure to execute jobs with an
 interval <=0 synchronous when the http-handler is called.
 .
 interval: '0s' # an interval <= 0 will make the queries synchronous