Appendable allows creating Appender. WARNING(bwplotka): Switch to AppendableV2 is in progress (https://github.com/prometheus/prometheus/issues/17632). Appendable will be removed soon (ETA: Q2 2026).
| 64 | // WARNING(bwplotka): Switch to AppendableV2 is in progress (https://github.com/prometheus/prometheus/issues/17632). |
| 65 | // Appendable will be removed soon (ETA: Q2 2026). |
| 66 | type Appendable interface { |
| 67 | // Appender returns a new appender for the storage. |
| 68 | // |
| 69 | // Implementations CAN choose whether to use the context e.g. for deadlines, |
| 70 | // but it's not mandatory. |
| 71 | Appender(ctx context.Context) Appender |
| 72 | } |
| 73 | |
| 74 | // SampleAndChunkQueryable allows retrieving samples as well as encoded samples in form of chunks. |
| 75 | type SampleAndChunkQueryable interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…