Simon Pasquier
089f5b173c
pin gopkg.in/yaml.v2
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
e4b3ea99ca
pin golang.org/x/text
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
a6dc7ea8b1
pin golang.org/x/sys
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
4b12a87daa
pin golang.org/x/net
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
6aa77dfaaa
pin github.com/golang/protobuf
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
a516bc2160
*: add go.mod and go.sum files
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
f02c64fe5e
vendor: commit vendor/ after running govendor sync
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
7a35325d4e
vendor: remove unused packages from vendor.json
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ae47fc2aca
vendor: fix revision for gopkg.in/inf.v0
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
2fc8b37807
vendor: fix revision for github.com/sasha-s/go-deadlock
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
b718d25fee
vendor: fix revision for github.com/pmezard/go-difflib/difflib
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
79b5203a78
vendor: fix revision for github.com/google/gofuzz
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
9a88ec93af
vendor: fix revision for github.com/golang/glog
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ddcf94881e
vendor: fix revision for github.com/ghodss/yaml
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
8c754c88fd
vendor: fix revision for github.com/davecgh/go-spew/spew
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
9ee6aa6fc4
vendor: fix revision for github.com/petermattis/goid
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
c21f9c0200
vendor: fix revision for google.golang.org/genproto/googleapis/rpc/status
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
79a4269f73
vendor: fix revision for google.golang.org/grpc packages
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Frederic Branczyk
f34b2602e1
Merge pull request #4794 from brancz/cut-2.5.0-rc.1
...
*: Cut v2.5.0-rc.1
6 years ago
Frederic Branczyk
d04148ab86
*: Cut v2.5.0-rc.1
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
nilsocket
fe0f0da6b3
docs: add missing word (time) ( #4797 )
...
Signed-off-by: nilsocket <nilsocket@gmail.com>
6 years ago
Frederic Branczyk
4800401eec
Merge pull request #4785 from ti-mo/master
...
Add documentation for new marathon-sd functionality
6 years ago
Frederic Branczyk
ad5139fcba
Merge pull request #4783 from simonpasquier/fix-targets-api
...
web/api/v1: fix targets endpoint
6 years ago
Wei Guo
742583e836
Support to query elements by a specific time ( #4764 )
...
* support to query elements by a specific time
Signed-off-by: Wei Guo <me@imkira.com>
6 years ago
Timo Beckers
36143be234
docs - refer to documentation/examples/prometheus-marathon.yml
...
Signed-off-by: Timo Beckers <timo@incline.eu>
6 years ago
Timo Beckers
b12ed54f95
documentation - add marathon-sd example configuration
...
Signed-off-by: Timo Beckers <timo@incline.eu>
6 years ago
Simon Pasquier
a308a186e4
web/api/v1: fix targets endpoint
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Frederic Branczyk
270c8760a3
Merge pull request #4775 from brancz/cut-2.5.0-rc.0
...
Cut 2.5.0-rc.0
6 years ago
Frederic Branczyk
4fc98efcde
CHANGELOG.md: Add entry for 2.5.0-rc.0
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
Goutham Veeramachaneni
f988af7235
Revert #4586 ( #4766 )
...
This breaks people if they are depending on the contents of
__address__ label.
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Frederic Branczyk
86a34c2e4c
VERSION: Bump version to 2.5.0-rc.0
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
Chris Marchbanks
ab3cdb9500
Allow promql benchmarks to query more samples ( #4770 )
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
6 years ago
Brian Pandola
3241c527d0
Fix typo ( #4760 )
...
Signed-off-by: Brian Pandola <bpandola@hsdp.io>
6 years ago
Simon Pasquier
a30348f1a4
discovery: add config label to discovered targets metric ( #4753 )
...
* discovery: add labels to discovered targets metric
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Brian Brazil
105ed5c112
Merge pull request #4700 from prometheus/openmetrics
...
Openmetrics Parser
6 years ago
Brian Brazil
3fdb92010e
Expand OM to OpenMetrics
...
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Brian Brazil
9c03e11c2c
Hook OpenMetrics parser into scraping.
...
Extend metadata api to support units.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Brian Brazil
c271ef456a
Add an OpenMetrics parser.
...
This is based on the existing parser, and has slightly better
performance (few %) than it.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Brian Brazil
ffe7efb411
Prepare for multiple text formats
...
Pass content type down to text parser.
Add layer of indirection in front of text parser,
and rename to avoid future clashes.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Simon Pasquier
5824d6902d
openstack: fix client when using env variables ( #4734 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Kien Nguyen-Tuan
9c5370fdfe
Support discover instances from all projects ( #4682 )
...
By default, OpenStack SD only queries for instances
from specified project. To discover instances from other
projects, users have to add more openstack_sd_configs for
each project.
This patch adds `all_tenants` <bool> options to
openstack_sd_configs. For example:
- job_name: 'openstack_all_instances'
openstack_sd_configs:
- role: instance
region: RegionOne
identity_endpoint: http://<identity_server>/identity/v3
username: <username>
password: <super_secret_password>
domain_name: Default
all_tenants: true
Co-authored-by: Kien Nguyen <kiennt2609@gmail.com>
Signed-off-by: dmatosl <danielmatos.lima@gmail.com>
6 years ago
Ariya Hidayat
a0ba9b7f3e
Avoid browser's spell-checking the Expression field ( #4728 )
...
Signed-off-by: Ariya Hidayat <ariya.hidayat@gmail.com>
6 years ago
Kangseok Thomas Lee
bec1a2f038
Reordering fields of String datetype ( #4751 )
...
Other types has timestamp as first field, but only String type has value as first field.
Signed-off-by: gangseok.lee <gangseok.lee@samsung.com>
6 years ago
Simon Pasquier
c4a6acfb1e
*: move to go 1.11 ( #4626 )
...
* *: move to go 1.11
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Reduce number of places where we specify the Go version
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Vandewilly
1098ed89d8
Drop 'else' condition when 'if' ends with a return ( #4743 )
...
This commit drops the else condition when the if block ends with a
return statement.
Signed-off-by: Vandewilly Silva <vandewilly.oli.silva@hpe.com>
6 years ago
Glenn McDonald
69656c295d
Switching from rawgit to jsdelivr ( #4733 ) ( #4737 )
...
Signed-off-by: Glenn McDonald <2371316+glenn-m@users.noreply.github.com>
6 years ago
Goutham Veeramachaneni
ffb7f829ec
Merge pull request #4730 from prometheus/release-2.4
...
Release 2.4
6 years ago
Will Hegedus
193ebe7e34
Updates to /targets and /rules (scrape duration, last evaluation time) ( #4722 )
...
* Add evaluationTimestamp (Last Evaluation) column to display on /rules
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
* Add lastScrapeDuration ("Scrape Duration") to display on /targets
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
* Updates based on Julius' feedback
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
* Update to set timestamp to when eval started (after eval completes)
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
* Update /rules to display time since last evaluation
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
* Re-order Last Eval/Eval Time to be consistent with targets page
Signed-off-by: Will Hegedus <wbhegedus@liberty.edu>
6 years ago
Goutham Veeramachaneni
1625c9c6e4
Format changelog properly ( #4721 )
...
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Simon Pasquier
3e6b9d43c3
Merge pull request #4720 from teresy/redundant-nil-check-slice
...
Remove redundant nil check
6 years ago