Commit 19b5a3a
Update to Mimir-Prometheus 0db77b4c7 (grafana#3682)
* Update mimir-prometheus to latest main 0db77b4c76da
`tsdb/wal` was renamed to `tsdb/wlog`.
Several other libraries were bumped by this, including prometheus/client-go
and prometheus/exporter-toolkit.
* go mod vendor
* Update prometheus/alertmanager to latest 1b202b91bf26
Required to build against prometheus/exporter-toolkit.
* Cope with Prometheus interface changes for Sparse Histograms
Copied from the sparsehistograms branch.
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Co-authored-by: Jeanette Tan <jeanette.tan@grafana.com>
* Stop casting Prometheus points to Mimir samples
They are no longer identical in memory layout.
This puts up the cost of query sharding slightly.
* Failsafe type handling in seriesSetToQueryResponse
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Apply review comments from grafana#3682 (grafana#3768)
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Fix wrong name of interface in comments
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Fix comments on chunk_merge_iterator.go
Error out if iterator is asked to merge non float chunks: New/Seek merge
Otherwise handle non floats normally Next and nonOverlaping Seek
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Do not handle multi type chunk in pkg/querier/batch/Batch (grafana#3800)
The new code had issues and unknown performance. Mitigate risk by
not handling histograms in Batches and restore the current way of
working with additional checks to avoid histograms.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Instead of panicking just skip non floats from Batches
This works out fine since the caller checks the ensuing batch.Length,
thus propagating the emptiness of the iterator.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Simulate missing lazy eval of if condition in prometheus_chunk.Batch
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Skip unsupported values for now in tools/tsdb-chunks
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Skip unsupported types for now in tsdb-index-health
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Skip unsupported value types in tsdb-print-chunk
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Do not restrict test case iterations to floats implicitly
Be explicit in asserts instead.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Apply review comments
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Apply review comments
* Fix small issue from comments
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Co-authored-by: Jeanette Tan <jeanette.tan@grafana.com>
Co-authored-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>1 parent 1c8cd69 commit 19b5a3a
143 files changed
Lines changed: 15190 additions & 1699 deletions
File tree
- pkg
- compactor
- frontend/querymiddleware
- ingester
- mimirpb
- querier
- batch
- iterators
- ruler
- storage
- chunk
- series
- tsdb
- storegateway
- tools
- tsdb-chunks
- tsdb-index-health
- tsdb-print-chunk
- vendor
- cloud.google.com/go/compute
- internal
- metadata
- github.com
- aws/aws-sdk-go
- aws
- endpoints
- private/protocol
- json/jsonutil
- query/queryutil
- rest
- xml/xmlutil
- cenkalti/backoff/v4
- docker/go-units
- google/pprof/profile
- prometheus/prometheus
- config
- discovery/refresh
- model
- histogram
- labels
- relabel
- textparse
- prompb
- io/prometheus/client
- promql
- parser
- rules
- scrape
- storage
- remote
- tsdb
- chunkenc
- encoding
- index
- record
- tsdbutil
- wlog
- util/teststorage
- web/api/v1
- go.opentelemetry.io
- contrib/instrumentation/net/http/otelhttp
- otel/metric/instrument
- asyncfloat64
- asyncint64
- golang.org/x
- exp/slices
- net/http2
- hpack
- sys/unix
- google.golang.org/api/internal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | | - | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
231 | | - | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
0 commit comments