SuperQ
a0fbc75f34
Add container_description.yml to repo sync
...
Add the container_description.yml workflow to the repo file sync script.
* Skip sync if there is no Dockerfile.
* Fixup minor typo in container_description.yml.
Signed-off-by: SuperQ <superq@gmail.com>
2024-03-14 09:20:40 +01:00
Ben Kochie
f252d8a9d1
Merge pull request #13761 from prometheus/superq/fixup_workflow
...
Fix container_description workflow
2024-03-14 08:42:15 +01:00
Bryan Boreham
87edf1f960
[Cleanup] TSDB: Remove old deprecated WAL implementation
...
Deprecated since 2018.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-13 15:57:23 +00:00
SuperQ
46401b988e
Normalize and fixup step names.
...
Signed-off-by: SuperQ <superq@gmail.com>
2024-03-13 15:56:37 +01:00
Jakub Čajka
505fd638be
otlptranslator: fix up import paths
...
Signed-off-by: Jakub Čajka <jcajka@redhat.com>
2024-03-13 15:56:14 +01:00
Bartlomiej Plotka
312e3fd728
Merge pull request #13713 from charleskorn/query-engine-interface
...
rules: allow using alternative PromQL engines for rule evaluation by callers using Prometheus as a lib.
2024-03-13 14:45:42 +01:00
SuperQ
3bff79451d
Fix container_description workflow
...
Fix yaml indentation. 🤦
Signed-off-by: SuperQ <superq@gmail.com>
2024-03-13 14:28:05 +01:00
Björn Rabenstein
f1e9ec29f8
Merge pull request #13752 from prometheus/superq/publish_docker_readme
...
Add GitHub action to publish container README
2024-03-13 12:57:22 +01:00
dependabot[bot]
cd3e0078f0
build(deps): bump github.com/prometheus/common ( #13728 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.49.0...v0.50.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 20:07:03 +01:00
Björn Rabenstein
af3618fd35
Merge pull request #13667 from prometheus/beorn7/promql
...
Improve TestQueryStatistics and fix bugs exposed by it
2024-03-12 16:17:11 +01:00
Bryan Boreham
ab9c544ec7
Azure Discovery tests: Add test for VMToLabelSet
...
Test fails due to bug in code on main.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 15:04:09 +00:00
Bryan Boreham
5f2c0c5283
Azure Discovery tests: mock the azure client interface
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 15:04:09 +00:00
Bryan Boreham
4e24e5b1d1
Refactor: Azure Discovery: introduce an interface for the client
...
So we can mock it.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 15:04:09 +00:00
Bryan Boreham
b8d428b753
Refactor: Azure Discovery: extract function to generate labelSet
...
This should make it easier to test.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 15:04:04 +00:00
SuperQ
2061eb0a6a
Add GitHub action to publish container README
...
Add a GitHub action to publish the README.md to Docker Hub and Quay.io.
Fixes: https://github.com/prometheus/prometheus/issues/5348
Signed-off-by: SuperQ <superq@gmail.com>
2024-03-12 14:18:52 +01:00
Bryan Boreham
0bb5588386
labels: optimize String method ( #13673 )
...
Use a stack buffer to reduce memory allocations.
`Write(AppendQuote(AvailableBuffer` does not allocate or copy when
the buffer has sufficient space.
Also add a benchmark, with some refactoring.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 11:34:03 +00:00
Bryan Boreham
d08f054950
[ENHANCEMENT] TSDB: Check CRC without allocating ( #13742 )
...
Use the existing utility function which does this.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-12 12:24:27 +01:00
Charles Korn
26262a1eb7
Remove unnecessary SetQueryLogger
method on QueryEngine
interface
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2024-03-12 22:01:01 +11:00
Julien
ca57bd6352
Merge pull request #13743 from carrychair/main
...
fix function and struct names in comments
2024-03-12 11:50:25 +01:00
Julien
106d98b986
Merge pull request #13751 from testwill/http_statuscode
...
chore: use constant instead of numeric literal
2024-03-12 11:41:34 +01:00
guoguangwu
1cccdbaedb
chore: use constant instead of numeric literal
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-12 17:19:50 +08:00
Bryan Boreham
8d53e7ba90
Cut v2.51.0-rc.0 ( #13729 )
...
* Cherry-pick [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702 )
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-11 13:35:44 +00:00
Julien
b4d4dcd9f6
Merge pull request #13739 from bboreham/no-race-prev-go
...
CI: don't run race-detector on tests with previous Go version
2024-03-11 13:55:19 +01:00
carrychair
856f6e49c8
fix function and struct name
...
Signed-off-by: carrychair <linghuchong404@gmail.com>
2024-03-09 17:53:17 +08:00
Julius Volz
ebb468cedf
Add graphing component stub
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 17:44:21 +01:00
Julius Volz
9093e0ab91
Cleanups in DataTable code
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 17:43:38 +01:00
michaelact
eea6ab1cdd
[BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' ( #13702 )
...
Erroneous code was introduced during a merge-back-to-main at #13399 .
Signed-off-by: michaelact <86778470+michaelact@users.noreply.github.com>
2024-03-08 15:19:39 +00:00
Julius Volz
b17dae1dab
Increase range input width
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 16:05:45 +01:00
Julius Volz
d9768a70b6
Add missing response type file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 16:02:00 +01:00
Julius Volz
d5a1e71f6c
Make time and range input controls prettier
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 16:01:41 +01:00
Julius Volz
2b12ff7ce8
Fix query_format path
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 15:19:43 +01:00
Julius Volz
d2f913ac1e
Implement initial time check and fetching of metric names
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 15:15:49 +01:00
Julius Volz
33a753c2f8
Implement pathPrefix handling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 14:06:05 +01:00
Bryan Boreham
e8bf2ce4e1
Merge pull request #13735 from bboreham/fix-notifier-relabel
...
[BUGFIX] Alerts: don't reuse payload after relabeling.
2024-03-08 12:29:36 +00:00
Bryan Boreham
54f50e1498
Merge pull request #13737 from bboreham/fix-scrape-tolerance
...
[BUGFIX] Scraping: Tolerance should be max 1% of interval
2024-03-08 12:28:04 +00:00
Bryan Boreham
e54082a621
CI: don't run race-detector on tests with previous Go version
...
The purpose of running with a previous Go version is to spot usage of
new language features; we don't need to intensively look for bugs.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-08 10:38:10 +00:00
Bryan Boreham
6c41ec984f
[BUGFIX] Scraping: Tolerance should be max 1% of interval
...
Previous code set it at minimum 1%, which was not intended.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-08 10:18:18 +00:00
Bryan Boreham
8c4e4b72a8
Notifier: pass parameters to goroutine explicitly
...
Avoids possible false sharing between loops.
Plausibly there is no problem in the current code, but it's easy enough to write it more safely.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-08 09:20:36 +00:00
Bryan Boreham
57c799132b
Notifier: don't reuse payload after relabeling
...
Also clarify why these variables are being cleared.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-08 09:16:43 +00:00
Julius Volz
5fea050fed
Refactor API fetching code, handle all possible errors correctly
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 21:05:12 +01:00
Björn Rabenstein
9acae57937
Merge pull request #13681 from krajorama/native-latency-histograms
...
Add native histograms to latency/duration metrics
2024-03-07 20:46:43 +01:00
Julius Volz
92195e3fb6
Implement expression formatting
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 17:45:14 +01:00
Julius Volz
074b4eb36e
Smaller font size for data table
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 17:44:45 +01:00
Julius Volz
124f36e670
Add back removing panels via menu
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 16:59:47 +01:00
Julius Volz
1e523b204d
Improve query panel / data table layout and spacing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 16:59:25 +01:00
Julius Volz
2bb14c5787
Lots of more progress on the new Mantine UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-07 13:16:54 +01:00
Bryan Boreham
3d16d39881
Merge pull request #13716 from prometheus/update-go-deps
...
Update Go dependencies for v2.51
2024-03-07 12:05:58 +00:00
Björn Rabenstein
b0c0961f9d
Merge pull request #13725 from prometheus/beorn7/promql2
...
promql: Fix limiting of extrapolation to negative values
2024-03-07 12:36:17 +01:00
Bryan Boreham
28f8a346bc
Wind back gophercloud to 1.8.0
...
It triggers a failure in TestOpenstackSDInstanceRefresh.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-07 10:13:59 +00:00
Bryan Boreham
34a655716e
Back off google.golang.org/protobuf to v1.32.0
...
Otherwise we get a compilation error.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-07 10:13:59 +00:00