TJ Hoplock
7baf084092
optimize Linode SD by polling for event changes during refresh ( #8980 )
...
* optimize Linode SD by polling for event changes during refresh
Most accounts are fairly "static", in the sense that they're not cycling
through instances constantly. So rather than do a full refresh every
interval and potentially make several behind-the-scenes paginated API
calls, this will now poll the `/account/events/` endpoint every minute
with a list of events that we care about. If a matching event is found,
we then do a full refresh.
Co-authored-by: William Smith <wsmith@linode.com>
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
Signed-off-by: William Smith <wsmith@linode.com>
3 years ago
Frederic Branczyk
a11be60fb8
Merge pull request #9119 from claytonpeters/promql-start-end-fix
...
PromQL: Fix start and end keywords masking label and metric names
3 years ago
Frederic Branczyk
fc92cdc263
Merge pull request #9150 from roidelapluie/macos-229
...
Add a compatibility note for macOS users.
3 years ago
Julien Pivotto
5c69624a84
Merge pull request #9141 from gebn/changelog-8896
...
Fix PR reference in changelog
3 years ago
Julien Pivotto
4fdf25dda5
Add a compatibility note for macOS users.
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julien Pivotto
ba4911a482
Merge pull request #9143 from gebn/ec2-sd
...
Describe EC2 availability zone IDs at most once per refresh (#9142 )
3 years ago
Julien Pivotto
03bee3b5df
Merge pull request #9125 from LeviHarrison/docker_sd-host-networking
...
docker_sd: Support host network mode
3 years ago
George Brighton
e6e7b08e6f
Integrate feedback
...
Signed-off-by: George Brighton <george@gebn.co.uk>
3 years ago
Ganesh Vernekar
848cb5a6d6
Enhanced WAL replay for duplicate series record ( #7438 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Ganesh Vernekar
8002a3ab80
Breakdown tsdb/head.go into multiple files ( #9147 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Levi Harrison
c1b1b826ce
HostNetworkHost -> HostNetworkingHost
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
bd7ebf29c9
Merge pull request #9006 from LeviHarrison/fix-consoles-css
...
Consoles: Fix broken Node Overview page
3 years ago
Julien Pivotto
0f8a9a4495
Merge pull request #9140 from roidelapluie/remove-exp-wording
...
Remove experimental wording on size-based retention
3 years ago
George Brighton
1f752b6910
Incorporate feedback
...
Signed-off-by: George Brighton <george@gebn.co.uk>
3 years ago
George Brighton
2d8f9c6f61
Describe EC2 availability zones at most once per SD load
...
Closes #9142 .
Signed-off-by: George Brighton <george@gebn.co.uk>
3 years ago
George Brighton
a715dd84ec
Describe EC2 availability zone IDs at most once per refresh ( #9142 )
...
Signed-off-by: George Brighton <george@gebn.co.uk>
3 years ago
George Brighton
330cc33d63
Fix PR reference in changelog
...
Signed-off-by: George Brighton <george@gebn.co.uk>
3 years ago
Julien Pivotto
daaff31e65
Remove experimental wording on size-based retention
...
Followup of #9004
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Frederic Branczyk
d9c31f3e66
Merge pull request #9137 from brancz/bump-2.29.0-rc.0
...
Bump version to 2.29.0-rc.0
3 years ago
Frederic Branczyk
c9ae5f5ebf
VERSION: bump to 2.29.0-rc.0
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Frederic Branczyk
8f4d62518e
Merge pull request #9133 from brancz/cut-2.29-rc.0
...
*: Cut 2.29.0-rc.0
3 years ago
Frederic Branczyk
b2f4bde6a0
*: Cut 2.29.0-rc.0
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Julien Pivotto
24165adadc
Merge pull request #9112 from darshanime/add_computer_name
...
Add computer name to azure sd
3 years ago
jinglina
1a430e5f89
remove redundant parentheses ( #9134 )
...
Signed-off-by: jinglina <jinglinax@163.com>
3 years ago
Darshan Chaudhary
c4f2e9eec5
Add present_over_time ( #9097 )
...
* Add present_over_time
Signed-off-by: darshanime <deathbullet@gmail.com>
* Add tests for present_over_time
Signed-off-by: darshanime <deathbullet@gmail.com>
* Address PR comments
Signed-off-by: darshanime <deathbullet@gmail.com>
* Add documentation for present_over_time
Signed-off-by: darshanime <deathbullet@gmail.com>
* Update documentation
Signed-off-by: darshanime <deathbullet@gmail.com>
* Update documentation comment
Signed-off-by: darshanime <deathbullet@gmail.com>
3 years ago
Frederic Branczyk
e2db44b653
Merge pull request #9132 from brancz/dependency-bump
...
Dependency bump in preparation for 2.29
3 years ago
Frederic Branczyk
fd8e8218a7
Update UI dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Frederic Branczyk
a266d4d2c5
Update Go dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Levi Harrison
8baaceab77
Cleaned up a little bit of HTML
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
003b7b2172
Merge pull request #9128 from prometheus/richih/1
...
Make clear that start/end are inclusive
3 years ago
Julien Pivotto
4b5b061427
Merge pull request #9127 from codesome/containerd
...
Upgrade containerd to v1.5.4
3 years ago
darshanime
898afa2fd9
Add nil checks
...
Signed-off-by: darshanime <deathbullet@gmail.com>
3 years ago
Philip Gough
751ca03fad
mixin: Filter instance by job for Prometheus overview dashboard
...
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
3 years ago
Oleg Zaytsev
f9482c5bf6
Clarify computeChunkEndTime's purpose ( #9049 )
...
I was struggling to understand the purpose of this method until I
tweaked the tests, so I decided to write down my observations.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
3 years ago
Richard Hartmann
d68d3983d8
Make clear that start/end are inclusive
...
Fixes: https://github.com/prometheus/prometheus/issues/9100
Signed-off-by: Richard Hartmann <richih@richih.org>
3 years ago
Ganesh Vernekar
79cfe2d1ec
Upgrade containerd to v1.5.4
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
jinglina
ed24e51e7c
remove redundant type conversion ( #9126 )
...
Signed-off-by: jinglina <jinglinax@163.com>
3 years ago
Levi Harrison
3556302c76
Added docs
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
89f154d643
Added tests
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
41be43647b
Implemented host_network_host setting
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
8b716d8db7
Merge pull request #9123 from LeviHarrison/change-tls-doc
...
Add notice to TLS to `client_auth_type`
3 years ago
Bryan Boreham
60804c5a09
remote_write: reduce blocking from garbage-collect of series ( #9109 )
...
* Refactor: pass segment-reading function as param
To allow a different implementation to be used when garbage-collecting.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* remote_write: reduce blocking from GC of series
Add a method `UpdateSeriesSegment()` which is used together with
`SeriesReset()` to garbage-collect old series. This allows us to
split the lock around queueManager series data and avoid blocking
`Append()` while reading series from the last checkpoint.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Cosmetic: review feedback on comments
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* remote-write benchmark: include GC of series
Reduce the total number of samples per iteration from 5000*5000
(25 million) which is too big for my laptop, to 1*10000.
Extend `createTimeseries()` to add additional labels, so that the
queue manager is doing more realistic work.
Move the Append() call to a background goroutine - this works because
TestWriteClient uses a WaitGroup to signal completion.
Call `StoreSeries()` and `SeriesReset()` while adding samples, to
simulate the garbage-collection that wal.Watcher does.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Change BenchmarkSampleDelivery to call UpdateSeriesSegment
This matches what Watcher.garbageCollectSeries() is doing now
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
Levi Harrison
a8850a0819
Add note to docs
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Levi Harrison
72865de915
Update exporter-toolkit
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
5cc30b716e
Merge pull request #9120 from arajkumar/fix-target_limit-error
...
scrape: fix 'target_limit exceeded error' when reloading conf with 0
3 years ago
Clayton Peters
e7d55acbf9
Add in additional tests for metrics and/or labels called start/end.
...
Signed-off-by: Clayton Peters <clayton.peters@man.com>
3 years ago
Julien Pivotto
04f33e88f7
Merge pull request #9121 from LeviHarrison/revert-klog-fix
...
Revert klog fix
3 years ago
Arunprasad Rajkumar
5527e26efc
scrape: fix 'target_limit exceeded error' when reloading conf with 0
...
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
3 years ago
Levi Harrison
c57afc1583
Added go-kit klog v3
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
58556c19be
Revert "Fix logging after the move to go-kit/log ( #9021 )"
...
This reverts commit 642722e5d0
.
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago