dependabot[bot]
cef6eba914
build(deps): bump github.com/prometheus/prometheus
...
Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus ) from 0.48.0 to 0.48.1.
- [Release notes](https://github.com/prometheus/prometheus/releases )
- [Changelog](https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/prometheus/compare/v0.48.0...v0.48.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 08:43:28 +00:00
dependabot[bot]
377c75036c
build(deps): bump github.com/influxdata/influxdb
...
Bumps [github.com/influxdata/influxdb](https://github.com/influxdata/influxdb ) from 1.11.2 to 1.11.4.
- [Release notes](https://github.com/influxdata/influxdb/releases )
- [Commits](https://github.com/influxdata/influxdb/compare/v1.11.2...v1.11.4 )
---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 08:42:49 +00:00
Bartlomiej Plotka
cdc5184f0c
Merge pull request #13354 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.18.0
...
build(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 in /documentation/examples/remote_storage
2024-01-04 09:40:44 +01:00
Kevin Mingtarja
40941d450b
Fix handling of scalar and string in isHeatmapData
...
Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
2024-01-04 02:48:54 +07:00
Kevin Mingtarja
c126c21baa
Fix DataTableProps['data'] for resultType string
...
Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
2024-01-04 01:51:56 +07:00
Jan Fajerski
f29e0adb96
scripts: sort file list in embed directive
...
Otherwise the resulting string depends on find, which afaict depends on
the underlying filesystem. A stable file list make it easier to detect
UI changes in downstreams that need to track UI assets.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-01-02 17:11:19 +01:00
dependabot[bot]
b90554f7a5
build(deps): bump actions/setup-node from 3.8.1 to 4.0.1
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.8.1 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](5e21ff4d9b...b39b52d121
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 23:35:55 +00:00
dependabot[bot]
153632063f
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 23:13:46 +00:00
Bryan Boreham
756202aa4f
Merge pull request #13262 from bboreham/agent-serieshashmap
...
agent: make the global hash lookup table smaller
2023-12-31 11:27:17 +00:00
Bryan Boreham
bad3f23f23
agent: add BenchmarkCreateSeries
...
Based on the one in tsdb/head_test.go.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-31 10:23:43 +00:00
Bryan Boreham
e64d7d8928
agent: make the global hash lookup table smaller
...
This is the same change made in #13040 , plus subsequent improvements,
applied to agent-mode code.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-31 10:23:43 +00:00
Bryan Boreham
1b74378a4c
Merge pull request #13344 from prometheus/revert-13293
...
Revert "Adding small test update for temp dir using t.TempDir (#13293 )"
2023-12-30 22:11:48 +00:00
Bryan Boreham
252031c86f
Revert "Adding small test update for temp dir using t.TempDir ( #13293 )"
...
This reverts commit 2ddb3596ef
.
Various tests are failing in CI after this change; reverting to free up
other work.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-30 19:17:30 +00:00
Mile Druzijanic
2ddb3596ef
Adding small test update for temp dir using t.TempDir ( #13293 )
...
* Adding small test update for temp dir using t.TempDir
Signed-off-by: Mile Druzijanic <miledruz@gmail.com>
Signed-off-by: Mile Druzijanic <zedsprogramms@gmail.com>
* removing not required cleanup
Signed-off-by: Mile Druzijanic <zedsprogramms@gmail.com>
---------
Signed-off-by: Mile Druzijanic <miledruz@gmail.com>
Signed-off-by: Mile Druzijanic <zedsprogramms@gmail.com>
2023-12-28 21:49:57 +01:00
Arianna Vespri
8f07f9dd90
Avoid creating string for suffix, consider counters without _total suffix
...
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-28 15:41:38 +01:00
machine424
2f60177203
scrape_test.go: Increase scrape interval in TestScrapeLoopCache to reduce potential flakiness
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2023-12-27 19:25:12 +01:00
Daniel Kerbel
b2185d96af
Consider storage.ErrTooOldSample as non-retryable
...
Signed-off-by: Daniel Kerbel <nmdanny@gmail.com>
2023-12-26 18:44:39 +02:00
Björn Rabenstein
6b8e945388
Merge pull request #13289 from fpetkovski/fix-histogram-reuse
...
Fix reusing float histograms
2023-12-25 22:45:03 +01:00
Filip Petkovski
0e1ae1d1ca
Add comment
...
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2023-12-25 11:41:07 +01:00
Filip Petkovski
35f9620cd1
Expand benchmark
...
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2023-12-25 11:30:29 +01:00
Filip Petkovski
5df3820c7a
Copy last histogram point
...
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2023-12-25 11:20:51 +01:00
Julien Pivotto
0763ec841b
Merge pull request #13313 from kalpadiptyaroy/fix-quality-value-accept-header
...
bug: Fix quality value in accept header
2023-12-21 11:40:30 +01:00
Kumar Kalpadiptya Roy
b012366c33
Issue #13268 : fix quality value in accept header
...
Signed-off-by: Kumar Kalpadiptya Roy <kalpadiptya.roy@outlook.com>
2023-12-21 10:33:05 +05:30
Bryan Boreham
75fc8a1535
Merge pull request #13167 from bboreham/simplify-TargetsActive
...
scrape: simplify TargetsActive function
2023-12-20 12:27:50 +00:00
Bryan Boreham
4d44da2deb
Merge pull request #13176 from bboreham/move-metrictype
...
Move metric type definitions to common/model
2023-12-20 09:30:57 +00:00
Bryan Boreham
4ca0d57bb9
Merge pull request #13308 from bboreham/validate-relabel
...
relabel: improve logic for target labels
2023-12-20 09:30:26 +00:00
Bartlomiej Plotka
1e306856a6
Merge pull request #13314 from prometheus/cut-2.49-rc.1
...
Cut 2.49 rc.1 + cherry pick Azure fix
2023-12-20 09:22:07 +00:00
Arianna Vespri
9a664b515a
Correct order in error message
...
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-20 09:41:37 +01:00
Arianna Vespri
51e78d9a32
Delete debugging lines, amend error message for unit
...
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-20 09:31:58 +01:00
bwplotka
20b4ef5d58
Cut v2.49.0-rc.1
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2023-12-19 19:23:43 +00:00
daniel-resdiary
d79ad810aa
Get VM Scale Set NIC ( #13283 )
...
Calling `*armnetwork.InterfacesClient.Get()` doesn't work for Scale Set
VM NIC, because these use a different Resource ID format.
Use `*armnetwork.InterfacesClient.GetVirtualMachineScaleSetNetworkInterface()`
instead. This needs both the scale set name and the instance ID, so
add an `InstanceID` field to the `virtualMachine` struct. `InstanceID`
is empty for a VM that isn't a ScaleSetVM.
Signed-off-by: Daniel Nicholls <daniel.nicholls@resdiary.com>
2023-12-19 19:20:02 +00:00
Bryan Boreham
096ec12912
Update comment about metadata in types.proto
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-19 18:56:54 +00:00
Bryan Boreham
c83e1fc574
textparse: remove MetricType alias
...
No backwards-compatibility; make a clean break.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-19 18:56:54 +00:00
Bryan Boreham
8065bef172
Move metric type definitions to common/model
...
They are used in multiple repos, so common is a better place for them.
Several packages now don't depend on `model/textparse`, e.g.
`storage/remote`.
Also remove `metadata` struct from `api.go`, since it was identical to
a struct in the `metadata` package.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-19 18:56:54 +00:00
Bryan Boreham
99c17b4319
Merge pull request #13177 from bboreham/less-madness
...
scrape: consistent function names for metadata
2023-12-19 17:51:52 +00:00
Bryan Boreham
0289dd6157
relabel: blank replacement deletes label post-regexp
...
If `cfg.TargetLabel` is a template like `$1`, it won't match any labels,
so no point calling `lb.Del` with it.
Similarly if `target` is not a valid label name, it won't match any
labels, so don't call with that either.
The intention seems to have been that a blank _value_ would delete the
target, so change that code to use `target` instead of `cfg.TargetLabel`.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-18 16:39:01 +00:00
Bryan Boreham
000182e4b8
relabel: check validity of all test cases
...
Thought this would be a nice check on the `Validate()` function, but
some of the test cases needed tweaking to pass.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-18 15:03:24 +00:00
Bryan Boreham
2d4c367d87
relabel: stricter check that target labels are valid
...
For `Lowercase`, `KeepEqual`, etc., we do not expand a regexp, so
the target label name must not contain anything like `${1}`.
Also for the common case that the `Replace` target does not require any
template expansion, check that the entire string passes label name
validity rules.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-18 14:58:59 +00:00
Bryan Boreham
9ab7e3b3de
relabel: refactor: extract config.Validate method
...
And add a test for it, which fails because validation is not strong enough.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-18 14:54:55 +00:00
Julien Pivotto
5d5303c746
Merge pull request #13285 from daniel-resdiary/DedupGetNic
...
Dedup code handling getting network interface
2023-12-18 15:27:18 +01:00
Julien Pivotto
7600e6cc05
Merge pull request #13294 from mmorel-35/azure
...
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager
2023-12-18 12:13:50 +01:00
Julien Pivotto
eec006915e
Merge pull request #13288 from diogoteles08/feat/add-minimum-permissions-to-script
...
scripts: Add minimal permissions to script golangci-lint.yml
2023-12-18 12:12:39 +01:00
Julien Pivotto
10557ed8e0
Merge pull request #13278 from Automaat/feat/extend-kuma-sd-api
...
kuma_sd: Extend Kuma SD configuration to allow users to specify ClientId
2023-12-18 12:12:07 +01:00
Arianna Vespri
3d6a92a25e
Merge remote-tracking branch 'prometheus/main' into add-unit-parser
2023-12-17 14:11:55 +01:00
Arianna Vespri
b65021d7a5
Get conditional right
...
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-17 14:09:14 +01:00
machine424
ea97086484
ui: create a reproduction for https://github.com/prometheus/prometheus/issues/13292
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2023-12-15 18:04:29 +01:00
Matthieu MOREL
952cb41373
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-12-15 10:25:07 +00:00
Arianna Vespri
9fb1e9715c
Go on adding protobuf parsing for unit
...
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-14 17:00:52 +01:00
Filip Petkovski
1f69dcfa6b
Fix reusing float histograms
...
In https://github.com/prometheus/prometheus/pull/13276 we started reusing float histogram objects to reduce allocations in PromQL.
That PR introduces a bug where histogram pointers gets copied to the beginning of the histograms slice,
but are still kept in the end of the slice. When a new histogram is read into the last element,
it can overwrite a previous element because the pointer is the same.
This commit fixes the issue by moving outdated points to the end of the slice
so that we don't end up with duplicate pointers in the same buffer. In other words,
the slice gets rotated so that old objects can get reused.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2023-12-14 11:53:58 +01:00
Diogo Teles Sant'Anna
1a8381a501
Add minimal permissions to script golangci-lint.yml
...
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
2023-12-13 19:47:44 +00:00