prometheus/web/api/v1
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
..
api.go Move metric type definitions to common/model 2023-12-19 18:56:54 +00:00
api_test.go Move metric type definitions to common/model 2023-12-19 18:56:54 +00:00
codec.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
codec_test.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
errors_test.go web : use Go standard package 2023-11-08 06:37:59 +00:00
json_codec.go web/api: use stream encoder for embedded labels 2023-07-24 20:42:36 +01:00
json_codec_test.go Merge branch 'main' into api-response-format-extension-point 2023-07-04 13:26:13 +10:00