Simon Pasquier
79e0fb5a3d
Tidy up Makefile.common
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ac16ef8f0e
Add missing tools.go
...
Also rearrange the code to be more consistent.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
b9f824e617
try go install honnef.co/tools/cmd/staticcheck
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ea18ea66b1
GOOS= and GOARCH=
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
cc1b953394
go list -m honnef.co/go/tools
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ea55bd61d0
Revert "fix go.sum"
...
This reverts commit bbc2810f312d90b372f64eb3612499d020c7353b.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ea62a5274d
fix go.sum
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
c141833d45
*: use staticcheck@next to support Go modules
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
80de93b6af
*: support for Go modules
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
c706b416bd
vendor: run 'go mod vendor' from scratch
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
a77b4512da
update go.sum
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
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
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