prometheus/vendor/github.com
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
..
alecthomas vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
armon/go-metrics vendor: bump github.com/hashicorp/serf (#5378) 2019-03-20 16:36:55 +01:00
asaskevich/govalidator config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
aws/aws-sdk-go update consul and dns dependencies 2019-05-20 11:09:08 -07:00
Azure Use the latest versions of azure go sdk and go-autorest (#5015) 2019-01-28 18:30:29 +00:00
beorn7/perks update tsdb to version v0.3.0 (#4953) 2018-12-04 19:46:31 +03:00
census-instrumentation/opencensus-proto Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
cespare/xxhash discovery/gce: oauth2.NoContext is deprecated, replace with context.Background() (#5024) 2018-12-20 14:45:18 +00:00
davecgh/go-spew update tsdb to version v0.3.0 (#4953) 2018-12-04 19:46:31 +03:00
dgrijalva/jwt-go update consul and dns dependencies 2019-05-20 11:09:08 -07:00
edsrzf/mmap-go Added query logging for prometheus. Issue #1315 (#5794) 2019-07-31 16:12:43 +01:00
evanphx/json-patch update kubernetes deps to v1.13.0 2018-12-03 19:32:16 -08:00
ghodss/yaml *: bump gRPC dependencies (#5075) 2019-01-15 15:32:05 +01:00
globalsign/mgo config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
go-ini/ini update consul and dns dependencies 2019-05-20 11:09:08 -07:00
go-kit/kit update tsdb to version v0.3.0 (#4953) 2018-12-04 19:46:31 +03:00
go-logfmt/logfmt use klog dependency 2019-01-03 13:57:20 -08:00
go-openapi config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
gogo/protobuf remove the dependency on cockroachdb in prometheus 2019-07-09 01:27:17 -07:00
golang Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
google Add k8s 1.15.1 as a vendor dependency. 2019-07-18 15:08:13 -07:00
googleapis/gnostic update consul and dns dependencies 2019-05-20 11:09:08 -07:00
gophercloud/gophercloud discovery/openstack: pass context to the OpenStack client (#5231) 2019-03-12 13:53:03 +01:00
grpc-ecosystem/grpc-gateway *: bump gRPC and protobuf dependencies (#5367) 2019-04-04 11:55:32 +02:00
hashicorp update consul and dns dependencies 2019-05-20 11:09:08 -07:00
influxdata/influxdb Bump github.com/influxdata/influxdb (#5784) 2019-07-22 13:39:13 +02:00
jmespath/go-jmespath vendor: run 'go mod vendor' from scratch 2018-10-29 17:25:43 +01:00
json-iterator/go Update prometheus/client_golang to v1.0.0 (#5682) 2019-06-17 19:14:36 +01:00
julienschmidt/httprouter Bump prometheus/common to v0.3.0 (#5344) 2019-04-10 13:20:00 +01:00
kr/logfmt vendor: run 'go mod vendor' from scratch 2018-10-29 17:25:43 +01:00
mailru/easyjson config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
matttproud/golang_protobuf_extensions update tsdb to version v0.3.0 (#4953) 2018-12-04 19:46:31 +03:00
miekg/dns update consul and dns dependencies 2019-05-20 11:09:08 -07:00
mitchellh update consul and dns dependencies 2019-05-20 11:09:08 -07:00
modern-go update consul and dns dependencies 2019-05-20 11:09:08 -07:00
mwitkow/go-conntrack vendor: run 'go mod vendor' from scratch 2018-10-29 17:25:43 +01:00
oklog Use github.com/oklog/run not archived oklog/oklog 2019-04-19 14:55:28 +02:00
opentracing/opentracing-go Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
opentracing-contrib/go-stdlib Instrument Prometheus with OpenTracing (#2554) 2017-05-02 18:49:29 -05:00
pkg/errors Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
pmezard/go-difflib update tsdb to version v0.3.0 (#4953) 2018-12-04 19:46:31 +03:00
prometheus Vendor tsdb 0.10.0 2019-07-24 15:09:12 +05:30
PuerkitoBio config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
samuel/go-zookeeper Update vendored go-zookeeper client (#2778) 2017-05-29 15:59:30 +02:00
shurcooL config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
soheilhy/cmux *: bump gRPC and protobuf dependencies (#5367) 2019-04-04 11:55:32 +02:00
stretchr/testify vendor: bump github.com/hashicorp/serf (#5378) 2019-03-20 16:36:55 +01:00