{ "opencollection": "1.0.0", "info": { "name": "Thanos Compact Alerts Metadata API", "version": "0.35.0" }, "items": [ { "info": { "name": "Metadata", "type": "folder" }, "items": [ { "info": { "name": "Find Series by Label Matchers", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:10902/api/v1/series", "params": [ { "name": "match[]", "value": "", "type": "query", "description": "Series selector argument that selects the series to return. At least one match[] argument must be provided." }, { "name": "start", "value": "", "type": "query", "description": "Start timestamp" }, { "name": "end", "value": "", "type": "query", "description": "End timestamp" }, { "name": "dedup", "value": "", "type": "query", "description": "If true, enables deduplication of time series from replicated Prometheus instances. Defaults to true." }, { "name": "partial_response", "value": "", "type": "query", "description": "If true, enables partial response. If a store is unavailable, partial data will be returned with a warning instead of failing the query." } ] }, "docs": "Returns the list of time series that match a certain label set. Queries across all connected stores." }, { "info": { "name": "Get Label Names", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:10902/api/v1/labels", "params": [ { "name": "start", "value": "", "type": "query", "description": "Start timestamp" }, { "name": "end", "value": "", "type": "query", "description": "End timestamp" }, { "name": "match[]", "value": "", "type": "query", "description": "Series selector to filter labels" }, { "name": "partial_response", "value": "", "type": "query", "description": "If true, enables partial response. If a store is unavailable, partial data will be returned with a warning instead of failing the query." } ] }, "docs": "Returns a list of label names available across all stores." }, { "info": { "name": "Get Label Values", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:10902/api/v1/label/:label_name/values", "params": [ { "name": "label_name", "value": "", "type": "path", "description": "The label name to retrieve values for" }, { "name": "start", "value": "", "type": "query", "description": "Start timestamp" }, { "name": "end", "value": "", "type": "query", "description": "End timestamp" }, { "name": "match[]", "value": "", "type": "query", "description": "Series selector to filter label values" }, { "name": "partial_response", "value": "", "type": "query", "description": "If true, enables partial response. If a store is unavailable, partial data will be returned with a warning instead of failing the query." } ] }, "docs": "Returns a list of label values for a given label name across all connected stores." } ] } ], "bundled": true }