Owen Williams
1f101f06bb
remove flags from here
2024-02-08 14:42:44 -05:00
Owen Williams
f4693e2217
fallback when arg is empty
2024-02-08 14:42:44 -05:00
Owen Williams
362f0e7d11
Make sure to apply escaping config
2024-02-08 14:42:40 -05:00
Owen Williams
9a3ffc86d7
add new formats to content negotiation
2024-02-08 14:42:33 -05:00
Owen Williams
eefac3fcde
require both a feature flag and a globalconfig flag
2024-02-08 14:42:14 -05:00
Owen Williams
d76a8cab73
tweaks for e2e
2024-02-08 14:42:12 -05:00
Owen Williams
85c3d93797
merge
2024-02-08 14:41:19 -05:00
Owen Williams
ed92255636
some content negotiation!
2024-02-08 14:41:13 -05:00
Owen Williams
cffe382b6c
Code was already working, added working tests
2024-02-08 14:39:57 -05:00
Owen Williams
8d1f6ecd77
debugging parser
2024-02-08 14:39:56 -05:00
Owen Williams
f66850c0fe
Revert "Revert promql changes"
...
This reverts commit 78eb1623ec
.
2024-02-08 14:39:37 -05:00
Owen Williams
d6da51f70c
Revert promql changes
...
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-08 14:39:37 -05:00
Owen Williams
146d168e09
Start trying to write tests for promql
2024-02-08 14:39:36 -05:00
Owen Williams
e05370fdb8
cleanup and fix tests
...
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-08 14:39:23 -05:00
Owen Williams
f7368aa269
revert local go.mod changes
...
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-08 14:39:22 -05:00
Owen Williams
9ec4026ed3
Restore previous behavior where spaces between label terms are acceptable in Promparse
...
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-08 14:38:26 -05:00
Owen Williams
58eb877f96
UTF-8: Add support for parsing UTF8 metric and label names
...
This adds support for the new grammar of `{"metric_name", "l1"="val",}`. This grammar will also be valid for non-UTF-8 names.
UTF-8 names will not be considered valid unless model.NameValidationScheme is changed.
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-02-08 14:38:07 -05:00
Owen Williams
4fddb5a382
fixup
2024-02-08 14:33:08 -05:00
Owen Williams
13379f2135
Merge branch 'owilliams/utf8' into owilliams/utf8-02
2024-02-08 12:49:24 -05:00
Owen Williams
3911f6109b
better mode setting
2024-02-06 14:29:12 -05:00
Owen Williams
f6bc568d8b
lint
2024-02-06 14:24:37 -05:00
Owen Williams
a65ed08885
update prom/common dep, cleanup
2024-02-06 14:22:51 -05:00
Owen Williams
643c8cba2a
Merge remote-tracking branch 'origin/main' into owilliams/utf8-02
2024-02-06 14:05:17 -05:00
Owen Williams
d4dece3931
Merge remote-tracking branch 'origin/main' into owilliams/utf8
2024-02-06 14:03:11 -05:00
Owen Williams
18003c14c3
cleanup for review
2024-02-06 14:01:48 -05:00
Owen Williams
680bcdcadf
go.mod
2024-02-06 13:51:17 -05:00
Owen Williams
787bb74076
updates
2024-02-06 13:50:14 -05:00
Owen Williams
48683d32f1
make it a top-level flag instead
2024-02-06 13:49:58 -05:00
Owen Williams
cb597da957
fallback when arg is empty
2024-02-06 13:49:58 -05:00
Owen Williams
34308681e8
Make sure to apply escaping config
2024-02-06 13:49:58 -05:00
Owen Williams
df35376983
add new formats to content negotiation
2024-02-06 13:49:58 -05:00
Owen Williams
41224d66e5
require both a feature flag and a globalconfig flag
2024-02-06 13:49:58 -05:00
Owen Williams
644e4c273c
tweaks for e2e
2024-02-06 13:49:55 -05:00
Bryan Boreham
8655fe5401
Merge pull request #13491 from bboreham/faster-store-series
...
storage/remote: speed up StoreSeries by re-using labels.Builder
2024-02-06 17:16:32 +01:00
Bryan Boreham
3ce816fa3b
Merge pull request #13492 from bboreham/no-labelstrings-intern
...
labels: make InternStrings a no-op for stringlabels version
2024-02-06 17:15:10 +01:00
Arve Knudsen
0853e52f4e
util/runtime: Ignore nolintlint failure on OSX ( #13546 )
...
util/runtime: Make nolintlint ignore unconvert linter directive
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-02-06 13:53:37 +01:00
Björn Rabenstein
0a3fd8d958
Merge pull request #13543 from aknuds1/arve/portable-genproto
...
scripts/genproto.sh: Support OSX sed
2024-02-06 13:53:01 +01:00
Bryan Boreham
87e4284c99
Merge pull request #13545 from aknuds1/arve/golangci-lint-arm64
...
Makefile: enable golangci-lint on ARM64
2024-02-06 11:26:48 +01:00
Arve Knudsen
7d7787f250
Makefile: Support golangci-lint on ARM64
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-02-06 13:51:16 +04:00
Arve Knudsen
e43a1d546a
scripts/genproto.sh: Support OSX sed
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-02-06 12:34:03 +04:00
Bryan Boreham
6005ac6f9d
Merge pull request #9311 from Creatone/creatone/use-testify-3
...
tests: Move from t.Errorf and others. (Part 3)
2024-02-05 18:48:59 +01:00
Peter Štibraný
e2b9cfeeeb
Enforce chunks ordering when writing index. ( #8085 )
...
Document conditions on chunks. Add check on chunk time ordering.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
2024-02-04 16:31:49 +01:00
Bryan Boreham
98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
...
tests: Move from t.Errorf and others.
2024-02-04 16:27:57 +01:00
Bryan Boreham
857138d3ce
review feedback
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-04 15:52:50 +01:00
Bryan Boreham
41f3eeb048
Merge pull request #13497 from captncraig/cmp_signedheaders
...
storage/remote: apply custom headers before sigv4 transport
2024-02-04 14:46:14 +01:00
Matthias Loibl
805d51f6d3
Merge pull request #13505 from wbollock/fix/PrometheusNotIngestingSamples_label_matching
...
mixin: PrometheusNotIngestingSamples label matching
2024-02-03 11:53:18 +00:00
gotjosh
aa845f7c12
Merge pull request #13527 from pracucci/decouple-rule-concurrency-and-dependency-controller
...
Decouple ruler dependency controller from concurrency controller
2024-02-02 17:40:02 +01:00
Marco Pracucci
5ee3fbe825
Decouple ruler dependency controller from concurrency controller
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
2024-02-02 10:06:37 +01:00
Mikhail Fesenko
419dd265cc
Fix strange code, add messages to code brought in #8106 ( #13509 )
...
Signed-off-by: Mikhail Fesenko <proggga@gmail.com>
2024-02-02 10:00:38 +01:00
Faustas Butkus
6feffeb92e
promql: add histogram_avg function ( #13467 )
...
Add histogram_avg function
---------
Signed-off-by: Faustas Butkus <faustas.butkus@gmail.com>
Signed-off-by: Björn Rabenstein <github@rabenste.in>
Co-authored-by: Björn Rabenstein <github@rabenste.in>
2024-02-01 18:28:42 +01:00