prometheus/vendor
Advait Bhatwadekar 5d401f1e1b Added query logging for prometheus. Issue #1315 (#5794)
* Added query logging for prometheus.
Options added:
1) active.queries.filepath: Filename where queries will be recorded
2) active.queries.filesize: Size of the file where queries will be recorded.

Functionality added:
All active queries are now logged in a file. If prometheus crashes unexpectedly, these queries are also printed out on stdout in the rerun.

Queries are written concurrently to an mmaped file, and removed once they are done. Their positions in the file are reused. They are written in json format. However, due to dynamic nature of application, the json has an extra comma after the last query, and is missing an ending ']'. There may also null bytes in the tail of file.

Signed-off-by: Advait Bhatwadekar <advait123@ymail.com>
2019-07-31 16:12:43 +01:00
..
cloud.google.com/go Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
contrib.go.opencensus.io/exporter/ocagent Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
github.com Added query logging for prometheus. Issue #1315 (#5794) 2019-07-31 16:12:43 +01:00
go.opencensus.io Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
golang.org/x Add k8s 1.15.1 as a vendor dependency. 2019-07-18 15:08:13 -07:00
google.golang.org Add k8s 1.15.1 as a vendor dependency. 2019-07-18 15:08:13 -07:00
gopkg.in Update fsnotify to v1.4.7 (#5792) 2019-07-23 15:53:50 +01:00
k8s.io Add k8s 1.15.1 as a vendor dependency. 2019-07-18 15:08:13 -07:00
sigs.k8s.io/yaml update kubernetes deps to v1.13.0 2018-12-03 19:32:16 -08:00
modules.txt Added query logging for prometheus. Issue #1315 (#5794) 2019-07-31 16:12:43 +01:00