Fabian Reinartz
e62677d7ba
Log argument parse errors
...
Fixes #1407
9 years ago
Brian Brazil
b447002309
Merge pull request #1402 from prometheus/fabxc/target-identity
...
Use fingerprint for target identity comparison
9 years ago
Fabian Reinartz
825831e98f
Use fingerprint for target identity comparison
...
So far we were using the InstanceIdentifier to compare equality of targets.
This is not always accurate, for example for the blackbox exporter where the
actual target is in the parameter.
9 years ago
Fabian Reinartz
c24c5e6fb3
Merge pull request #1400 from prometheus/beorn7/instrumentation
...
Fix the instrumentation fixes
9 years ago
beorn7
663a1550d0
Fix the instrumentation fixes
9 years ago
Fabian Reinartz
73e38c534a
Merge pull request #1398 from prometheus/scraperef2
...
Handle scrape timeout on request.
9 years ago
Fabian Reinartz
66767121ab
Handle scrape timeout on request.
...
For historic reasons we were enforcing a timeout directly
via the TCP dialer. This is no longer necessary for quite a while now.
Switching to context.Context will allow us to properly terminate
requests on shutdown as well.
9 years ago
Fabian Reinartz
1f70345d0c
Merge pull request #1397 from prometheus/remove-old-scrapetime-setting
...
Remove old superfluous calls to setLastScrape().
9 years ago
Julius Volz
293486c7b1
Remove old superfluous calls to setLastScrape().
...
This is called from within the scrape()->report() flow now.
See https://github.com/prometheus/prometheus/pull/1394/files#r52945817
9 years ago
Fabian Reinartz
a0078ec84c
Merge pull request #1394 from prometheus/scraperef2
...
Refactor and test appender modifications
9 years ago
Fabian Reinartz
463dd3ea06
Refactor target scrape reporting.
9 years ago
Fabian Reinartz
f1101590ee
Merge pull request #1395 from prometheus/fabxc/eof
...
Fix wrong EOF error on successful target scraping
9 years ago
Fabian Reinartz
cd28b88b08
Fix wrong EOF error on successful target scraping
9 years ago
Fabian Reinartz
cb86a4300b
Merge pull request #1393 from prometheus/scraperef
...
Make scraping offset consistent.
9 years ago
Fabian Reinartz
27d71b08d1
Factor out appender wrapping
9 years ago
Fabian Reinartz
fe7e91e2eb
Make scraping offset consistent.
...
To evenly distribute scraping load we currently rely on random
jittering. This commit hashes over the target's identity and calculates
a consistent offset. This also ensures that scrape intervals
are constantly spaced between config/target changes.
9 years ago
Brian Brazil
65d226b17a
Merge pull request #1392 from prometheus/scrapetimeout
...
Fix global config YAML issues
9 years ago
Björn Rabenstein
7e41f45fe7
Merge pull request #1387 from prometheus/beorn7/storage
...
Populate first and last time in the chunk descriptor earlier
9 years ago
Fabian Reinartz
37c709f917
Fix global config YAML issues
9 years ago
beorn7
ef3ab96111
Populate first and last time in the chunk descriptor earlier
...
The First time is kind of trivial as we always know it when we create
a new chunkDesc.
The last time is only know when the chunk is closed, so we have to set
it at that time.
The change saves a lot of digging down into the chunk
itself. Especially the last time is relative expensive as it involves
the creation of an iterator. The first time access now doesn't require
locking, which is also a nice gain.
9 years ago
Brian Brazil
b3fb91ec87
Merge pull request #1391 from prometheus/scrapetimeout
...
Fix scrape timeout config checks
9 years ago
Fabian Reinartz
44a5e860ed
Fix scrape timeout config checks
9 years ago
Brian Brazil
938ebe78c2
Merge pull request #1390 from prometheus/scraperef
...
Adjust labels on status page
9 years ago
Fabian Reinartz
915a7c09a8
Adjust labels on status page
9 years ago
Fabian Reinartz
70336c6f5b
Merge pull request #1385 from prometheus/scraperef
...
Cleanup target internals
9 years ago
Fabian Reinartz
a06bc75519
Remove occurrences of 'base' labels
9 years ago
Brian Brazil
718098a4df
Merge pull request #1388 from prometheus/update-dns-meta-refs
...
Update two more __meta_dns_srv_name references.
9 years ago
Julius Volz
829a029dda
Update two more __meta_dns_srv_name references.
...
Although they are only in examples/tests and don't affect anything, they
could be confusing (the label has been renamed in the rest of the code a
while ago).
9 years ago
Fabian Reinartz
0d44248fb8
Cleanup cluttered test data
9 years ago
Fabian Reinartz
65eba080a0
Cleanup internal target data
9 years ago
Brian Brazil
738e6f41d4
Merge pull request #1384 from prometheus/scraperef
...
Restrict scrape timeout to interval length
9 years ago
Fabian Reinartz
e26e4b6e89
Restrict scrape timeout to interval length
9 years ago
Björn Rabenstein
abeeebeed4
Merge pull request #1383 from prometheus/beorn7/race
...
Remove race condition from TestRetentionCutoff
9 years ago
beorn7
9a3edea477
Remove race condition from TestRetentionCutoff
9 years ago
Fabian Reinartz
90b9fae638
Merge pull request #1382 from prometheus/beorn7/vendoring
...
Update common/expfmt vendoring
9 years ago
beorn7
6946fb2058
Update common/expfmt vendoring
9 years ago
Fabian Reinartz
83c5ef7c03
Merge pull request #1380 from prometheus/fix-typos
...
Fix various typos in comments.
9 years ago
Julius Volz
9b6d69610a
Fix various typos in comments.
...
Helpfully reported by
https://goreportcard.com/report/github.com/prometheus/prometheus :)
9 years ago
Julius Volz
1c1dcd0255
Merge pull request #1379 from prometheus/fix-target-init
...
Fix target update error handling.
9 years ago
Julius Volz
3728b5872f
Fix target update error handling.
...
Fixes https://github.com/prometheus/prometheus/issues/1378
9 years ago
Brian Brazil
c0df1c7e81
Merge pull request #1376 from prometheus/without
...
Add without aggregator modifier.
9 years ago
Brian Brazil
9d0112d7cf
Add without aggregator modifier.
...
This has the advantage that the user doesn't need
to list all labels they want to keep (as with "by")
but without having to worry about inconsistent labels
as when there's only one time series (as with "keeping_common").
Almost all aggregation should use this rather than the existing
two options as it's much less error prone and easier to maintain
due to not having to always add in "job" plus whatever other common
job-level labels you have like "region".
9 years ago
Julius Volz
e3baa35e9f
Fix typo in documentation/examples/kubernetes-rabbitmq/README.md
9 years ago
Julius Volz
7f6acef4d5
Merge pull request #1314 from katcipis/master
...
Adding RabbitMQ deploy for kubernetes + prometheus integration
9 years ago
Brian Brazil
b7ef0b45e8
Break aggregation tests out. Add missing tests.
9 years ago
Fabian Reinartz
328e1d733a
Change `make` to `make build`
...
For building from source as an end user running the tests is not necessary.
9 years ago
Fabian Reinartz
facabe254f
Merge pull request #1373 from prometheus/fix-flapping-alert-detection
...
Fix detection of flapping alerts
9 years ago
Fabian Reinartz
2b9de9e8bc
Merge pull request #1374 from prometheus/link-to-https
...
Use https://prometheus.io
9 years ago
Tobias Schmidt
211cb10f13
Use https://prometheus.io
9 years ago
Tobias Schmidt
f1f8317fa5
Fix detection of flapping alerts
...
Alerts in the resolve retention period must be transitioned to the
active state again when their condition is met.
9 years ago