Fabian Reinartz
6adf77e411
Merge pull request #1447 from prometheus/fabxc/alertfix
...
Make copying alerting state safer.
9 years ago
Fabian Reinartz
d89c254849
Make copying alerting state safer.
...
This considers static labels in the equality of alerts to
avoid falsely copying state from a different alert definition with
the same name across reloads.
To be safe, it also copies the state map rather than just its pointer
so that remaining collisions disappear after one evaluation interval.
9 years ago
Fabian Reinartz
95c9706d2d
Fix missing comment period.
9 years ago
Julius Volz
9ea2465b99
Fix typo in lexer test.
9 years ago
Brian Brazil
ca31d36382
Merge pull request #1444 from prometheus/add-tests-for-string-parsing
...
Add tests to specify the string escaping behavior
9 years ago
Tobias Schmidt
907b1380a7
Add tests to specify the string escaping behavior
9 years ago
Fabian Reinartz
5b78fdd6b7
Merge pull request #1439 from prometheus/fabxc/notifier
...
Rename notification to notifier
9 years ago
Brian Brazil
671cc59de7
Merge pull request #1440 from fabric8io/kubernetes-discovery
...
Kubernetes SD: Fix node IP discovery
9 years ago
Jimmi Dyson
e59b7c15a3
Kubernetes SD: Fix node IP discovery
9 years ago
Fabian Reinartz
bfa8aaa017
Rename notification to notifier
9 years ago
Fabian Reinartz
42a64a7d0b
Merge pull request #1434 from igncp/master
...
Fix function names in comments
9 years ago
Ignacio Carbajo
1b3ea0ea1b
Fix function names in comments
9 years ago
Björn Rabenstein
e4d0ae9b4e
Merge pull request #1432 from prometheus/beorn7/fix-deadlock
...
Fix a deadlock
9 years ago
beorn7
33a50e69f7
Fix a deadlock
...
Double acquisition of the RLock usually doesn't blow up, but if the
write lock is called for between the two RLock's, we are deadlocked.
This deadlock does not exist in release-0.17, BTW.
9 years ago
Julius Volz
73399f826a
Merge pull request #1427 from prometheus/fix-scrape-timeout
...
Remove invalid scrape timeout from example config.
9 years ago
Julius Volz
657d65d6d6
Remove invalid scrape timeout from example config.
...
It can't be greater than the scrape interval. Let's just remove it.
9 years ago
Björn Rabenstein
a8c79f0a0c
Merge pull request #1422 from prometheus/release-0.17
...
Merge more commits from 0.17.
9 years ago
Björn Rabenstein
5eff37ccbe
Merge pull request #1421 from prometheus/beorn7/fix
...
Fix a very special case of handling the checkpoint timer
9 years ago
beorn7
8fa1560e48
Fix a very special case of handling the checkpoint timer
9 years ago
Björn Rabenstein
17bfe798eb
Merge pull request #1419 from prometheus/release-note-fixes
...
Improve 0.17.0 changelog
9 years ago
Tobias Schmidt
b7e6651e06
Improve 0.17.0 changelog
...
* remove wrong release date until 0.17.0 gets actually released
* fix wrong alertmanager version number
* add example for regex anchor change
9 years ago
Brian Brazil
e4e00b6f24
Merge pull request #1418 from igncp/patch-1
...
Fix minor typo
9 years ago
Ignacio Carbajo
0c537d6af6
Fix minor typo
9 years ago
Björn Rabenstein
888c77cb06
Merge pull request #1416 from prometheus/beorn7/fix-test
...
Fix a targetmanager test
9 years ago
beorn7
fd5108b038
Fix a targetmanager test
9 years ago
Björn Rabenstein
d9eb624322
Merge pull request #1415 from prometheus/release-0.17
...
Forward-merge release-0.17 into master
9 years ago
Björn Rabenstein
51aad630b6
Merge pull request #1414 from prometheus/beorn7/rushed-race
...
Fix a race condition in calculatePersistenceUrgencyScore
9 years ago
beorn7
4d1f7b49b6
Fix a race condition in calculatePersistenceUrgencyScore
9 years ago
Brian Brazil
04946afd0a
Merge pull request #1412 from prometheus/fingerprintfix
...
Remove fullLabels method and fix target updating
9 years ago
Fabian Reinartz
6df1f49c13
Remove fullLabels method and fix target updating
...
With recent changes to a Target's internal data representation
updating by fullLabels() assigns the additional default
instance label. This breaks target identity comparison and causes
identical targets from service discovery to be constantly swapped.
9 years ago
Fabian Reinartz
209c4ad64f
Merge pull request #1410 from bluecmd/patch-1
...
Allow custom ldflags for go build
9 years ago
Christian Svensson
69ebf45649
Allow custom ldflags for go build
...
This allows users to use CGO and external linker when building Prometheus.
9 years ago
Fabian Reinartz
fce17b41c5
Merge pull request #1408 from prometheus/hostname
...
Log argument parse errors
9 years ago
Fabian Reinartz
e62677d7ba
Log argument parse errors
...
Fixes #1407
9 years ago
Brian Brazil
cd85352fe1
Merge pull request #1403 from igncp/master
...
Fix minor typo
9 years ago
Ignacio Carbajo
6a323b1e6d
Fix minor typo
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