Frederic Branczyk
82c989a16e
bump version to v2.2.0-rc.0
7 years ago
Frederic Branczyk
9666e37f32
Merge pull request #3830 from brancz/bump-tsdb
...
vendor: bump TSDB
7 years ago
Andrea Giardini
3a9637fa3c
docs: Fix remote_read/remote_timeout default ( #3829 )
7 years ago
Frederic Branczyk
63f31bd33d
vendor: bump TSDB
7 years ago
Brian Brazil
66b8bdbf4a
Fix docs for #3820 ( #3823 )
7 years ago
Krasi Georgiev
a53d4ed197
drop metric name for bool modifier ( #3821 )
...
fixes #3820
7 years ago
Fabian Reinartz
dfdd2cb5f4
Merge pull request #3793 from filipochnik/reject-empty-label-names
...
textparse: reject empty label names
7 years ago
Krasi Georgiev
4801573b64
time() return milliseconds ( #3811 )
7 years ago
Krasi Georgiev
404b306fb9
Meta labels sd 3693 ( #3805 )
...
Always keep the discovered labels up to date.
add test that DiscoveredLabels are always updated
7 years ago
Tobias Schmidt
6edc493c95
Merge pull request #3801 from azmelanar/add-cii-badge
...
Add CII Badge
7 years ago
Dmytro Slupytskyi
28b4ecf985
add cii badge
7 years ago
Tom Wilkie
a730083cbf
Merge pull request #3731 from bboreham/reuse-timer
...
Re-use timer in remote storage queue
7 years ago
Filip Ochnik
ec1c6b7c29
textparse: reject empty label names
7 years ago
Lovisa Svallingson
460fe4dd0c
Fix: Improve typeahead on /graph page ( #3742 )
...
* Do not autoselect the first item in the dropdown
* Historical queries only show in dropdown when toggled on
* Move shared behavior to queryHistory.isEnabled function
* Do not auto submit selected history queries
7 years ago
Conor Broderick
5169ccf258
Merge pull request #3724 from simonpasquier/fix-bad-data-error
...
Don't reset FiredAt for inactive alerts
7 years ago
Frederic Branczyk
81a96d3140
Merge pull request #3779 from krasi-georgiev/rename-retrieval-to-scrape
...
Rename retrieval to scrape
7 years ago
Krasi Georgiev
6ce84dbcb1
rename ScrapeManager struct to Manager to remove stutter
7 years ago
Krasi Georgiev
b75428ec19
rename package retrieve to scrape
...
no fucnctinal changes just renaming retrieval to scrape
7 years ago
Frederic Branczyk
b30ee3e69a
Merge pull request #3766 from krasi-georgiev/renaming-consistency
...
rename structs for consistency
7 years ago
Tom Wilkie
de17498608
Merge pull request #3736 from tomwilkie/3715-2.1-cpu
...
Don't allocate a mergeSeries if there is only one series to merge.
7 years ago
Krasi Georgiev
7858745c04
rename structs for consistency
7 years ago
Frederic Branczyk
af547ce862
Merge pull request #3709 from krasi-georgiev/bearer-token
...
read bearer token on every request + some http and scrape tests
7 years ago
Frederic Branczyk
d3ae1ac40e
Merge pull request #3741 from krasi-georgiev/discovery-race
...
read/write race for the context field in the discovery package
7 years ago
pasquier-s
bde64cf5a6
Fix Kubernetes endpoints SD for empty subsets ( #3660 )
...
* Fix Kubernetes endpoints SD for empty subsets
When an endpoints object has no associated pods (replica scaled to zero
for instance), the endpoints SD should return a target group with no
targets so that the SD manager propagates this information to the scrape
manager.
Fixes #3659
* Don't send nil target groups from the Kubernetes SD
This is to be consistent with the endpoints SD part.
7 years ago
Krasi Georgiev
4d47a48422
client test comment nits.
7 years ago
Krasi Georgiev
818dda72db
updated the sd tests
7 years ago
Krasi Georgiev
acc4197098
remove dicovery race for the context field
7 years ago
Frederic Branczyk
47538cf6ce
Merge pull request #3747 from prometheus/sched-update-throttle
...
Update throttle & tsdb update
7 years ago
Frederic Branczyk
73e829137b
discovery: Cleanup ticker
7 years ago
Tom Wilkie
3dc5b8eef5
Use sub benchmarks.
7 years ago
Paddy Newman
568ecce421
Fix rendering issues with console templates. ( #3744 )
...
Move tables into the content area so that graphs and very long/wide tables are
readable.
The issue is present on the node-overview and node-disk pages when the tables
are very long and wide. E.g., the host has lots of NICs, disks and filesystems
and the filesystem names are very long. We have very long lists of long Docker
filesystem names in our Kubernetes clusters.
I know people don't really care about the console templates anymore but they
are still useful in some cases and the queries are a nice reference for
beginners.
7 years ago
Ganesh Vernekar
66b0aa3b45
Fixed race condition in map iteration and map write in Discovery ( #3735 ) ( #3738 )
...
* Fixed concurrent map iteration and map write in Discovery (#3735 )
* discovery: Changed Lock to RLock in Collect
7 years ago
Krasi Georgiev
fe926e7829
update the discover tests
...
the discovery test is now only testing update and get groups.
It doesn't do an e2e test but just a unit test of setting and receiving
target groups
7 years ago
Julien Pivotto
8b20cb1e8d
last config success time gauge: use SetToCurrentTime() ( #3750 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
7 years ago
Callum Styan
7dc05538f7
docs: SD implementations do not have to only send new/changed target groups ( #3713 )
7 years ago
Frederic Branczyk
46693444de
vendor: Update github.com/prometheus/tsdb
7 years ago
Frederic Branczyk
cfa0253ed8
discovery: Schedule updates to throttle
7 years ago
Tom Wilkie
da29c09dca
Some benchmarks for the mergeSeries set.
7 years ago
Ben Kochie
40acc632bb
Merge pull request #3505 from rdemachkovych/ansible_prom2.0
...
Added to documentation Ansible roles for Prometheus 2.0
7 years ago
Roman Demachkovych
8bfc611616
Remove not maintained roles
7 years ago
Frederic Branczyk
753f8c1071
Merge pull request #3733 from simonpasquier/update-vendor-tsdb
...
Update vendor tsdb
7 years ago
Simon Pasquier
eb11d912bd
vendor: update tsdb
7 years ago
Tom Wilkie
749781edf3
Also, don't make a mergeSeriesSet if there is only one SeriesSet.
7 years ago
Tom Wilkie
48e39068bd
Don't allocate a mergeSeries if there is only one series to merge.
7 years ago
Bryan Boreham
8a4535e6ad
Re-use timer instead of creating new ones on every sample
...
The docs for `time.After()` note that "The underlying Timer is not
recovered by the garbage collector until the timer fires".
7 years ago
zemek
8a01a0fbed
Set consul server default to localhost:8500 ( #3703 )
7 years ago
Simon Pasquier
81c0ab69e0
Don't reset FiredAt for inactive alerts
...
Otherwise AlertManager receives resolved alerts where StartsAt is zero which
fails the validation.
7 years ago
Julius Volz
09e460a647
discovery: Rename file SD mtime metric ( #3723 )
...
- "timestamp" -> "mtime" to be in line with node exporter and clearer.
- add unit suffix
7 years ago
Goutham Veeramachaneni
84e462ae24
Merge pull request #3722 from prometheus/reusable-rulefmt
...
rulefmt: Allow parsing from bytes instead of file
7 years ago
Julius Volz
192e665317
rulefmt: Allow parsing from bytes instead of file
...
This makes the rulefmt package more reusable for users whose rulesets are not
stored in files on disk. Concrete example: Cortex.
7 years ago