Brian Brazil
8edaa8ad4d
Fix goroutine leak in lexer/parser. ( #4858 )
...
When there was an error in the parser, the
lexer goroutine was left running.
Also make runtime panic test actually test things.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Ben Kochie
b1e779d0ed
Use release binary of promu ( #4843 )
...
Download and extract a release binary of promu, rather than pull from
master.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Simon Pasquier
5230e2730a
*: check that assets are up-to-date ( #4731 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
7465118a2c
Fix errors in the vendor/ directory ( #4781 )
...
* vendor: fix revision for google.golang.org/grpc packages
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for google.golang.org/genproto/googleapis/rpc/status
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/petermattis/goid
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/davecgh/go-spew/spew
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/ghodss/yaml
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/golang/glog
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/google/gofuzz
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/pmezard/go-difflib/difflib
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for github.com/sasha-s/go-deadlock
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: fix revision for gopkg.in/inf.v0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: remove unused packages from vendor.json
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* vendor: commit vendor/ after running govendor sync
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Frederic Branczyk
12ab9bf792
Merge pull request #4829 from brancz/release-doc
...
Add RELEASE.md
6 years ago
Frederic Branczyk
bda9781ccd
Merge pull request #3839 from brancz/remove-old-alert-record
...
promql: Remove old and unused alerting/reconding syntax
6 years ago
Frederic Branczyk
3274a74595
Add RELEASE.md
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
Frederic Branczyk
3287b9a4b8
Merge pull request #4579 from bwplotka/ensure-genproto-works
...
proto: Allow reproducible proto generation.
6 years ago
Bryan Boreham
cf37e1feb4
Add __meta_kubernetes_pod_phase label in discovery ( #4824 )
...
This lets you add a relabel rule to drop scrapes for pods which are
not running.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
6 years ago
Silvio Gissi
6100f160ad
EC2 Platform meta label ( #4663 )
...
Set __meta_ec2_platform label with the instance platform string. Set to 'windows' on Windows servers and absent otherwise.
Signed-off-by: Silvio Gissi <silvio@gissilabs.com>
6 years ago
Mucahit Kurt
4a6c329d71
add alert template expanding failure metric ( #4747 )
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
6 years ago
Frederic Branczyk
c2f32c99cf
Merge pull request #4826 from brancz/cut-2.5.0
...
*: Cut v2.5.0
6 years ago
Frederic Branczyk
98e4d8f6e4
*: Cut v2.5.0
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
Frederic Branczyk
4d4b5c9d12
Merge pull request #4809 from brancz/cut-2.5.0-rc.2
...
*: Cut v2.5.0-rc.2
6 years ago
Frederic Branczyk
b76dd3513b
*: Cut v2.5.0-rc.2
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
6 years ago
Frederic Branczyk
dbe8acce94
Merge pull request #4806 from simonpasquier/fix-targets-page
...
web: display job label in targets page
6 years ago
Simon Pasquier
147f2061d5
web: display job label in targets page
...
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
Tariq Ibrahim
d371697841
Adding new metric type to track in-flight queries via the remote read API endpoint. ( #4699 )
...
* Adding new metric type to track in-flight queries via the remote read API endpoint.
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
* fix review comments
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
* fix comments
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago