Julius Volz
f7446778f3
Document new status API endpoints ( #6262 )
...
* Document new status API endpoints
These were added in https://github.com/prometheus/prometheus/pull/6243
for the React UI.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Update new-in notices
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-11-02 18:18:32 +01:00
Ben Kochie
8340db5614
Update aggregation operator docs ( #6240 )
...
Update the aggregation operator documentation.
* Include before expression style syntax as valid.
* Update examples to show before style.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-10-28 17:37:07 +01:00
Tobias Guggenmos
fbcf41c90b
doc: Add documentation about comments in PromQL ( #6198 )
...
* Add documentation about comments
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
2019-10-25 11:01:59 +01:00
mkenigs
e23fa22233
Change snapshot description to be consistent with rest of the doc ( #5642 )
...
Signed-off-by: mkenigs <matthewkenigsberg@gmail.com>
2019-06-07 10:21:47 +01:00
Alex Salt
d6a4daa26a
web api: handle alert with Infinity/NaN values ( #5582 )
...
* web/api/v1: alert value as string in alert/rules endpoints
Signed-off-by: Alexander Saltykov <alexander-s@yandex-team.ru>
2019-05-21 10:41:54 +01:00
Semyon Slepov
33f085a4d6
Remove bits about substring matching from the docs ( #5549 )
...
Substring matching for labels doesn't work anymore.
These parts are misleading, and contradict with the rest of the
documentation.
Signed-off-by: Semyon Slepov <slepovss@gmail.com>
2019-05-09 11:12:32 +01:00
Julius Volz
f04b1b5559
Clarify binary operator output label sets ( #5512 )
...
* Clarify binary operator output label sets
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Clarify binary op output labels further
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-04-25 14:10:22 +02:00
Lucas Servén Marín
0e42449b78
docs/querying: improve wording ( #5442 )
...
This commit improves the wording of the subquery examples and makes
them more consistent with other examples.
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2019-04-09 17:48:41 +01:00
Bob Shannon
f8932dde66
Improve docs for query POST requests ( #5428 )
...
Signed-off-by: Bob Shannon <bobs@dropbox.com>
2019-04-02 20:44:03 +01:00
Bob Shannon
8c8bb82d04
Add support for POSTing to /series endpoint ( #5422 )
...
* Add support for POSTing to /series endpoint
* Document query API POST support
Signed-off-by: Bob Shannon <bob.m.shannon@gmail.com>
2019-04-02 18:00:29 +01:00
Bharath
91306bdf24
Support non POST methods for Lifecycle and Admin APIs ( #5376 )
...
Signed-off-by: Bharath Thiruveedula <bharath_ves@hotmail.com>
2019-03-20 17:33:45 +00:00
tuanvcw
9de0ab3c8a
Update remaining deprecated links in docs ( #5271 )
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-26 10:16:38 +00:00
Ganesh Vernekar
dbe55c1352
Subquery ( #4831 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2018-12-22 13:47:13 +00:00
Julius Volz
c96828fb57
Mention PromQL by name in querying basics doc ( #4996 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-12-18 11:57:00 +01:00
mknapphrt
f0e9196dca
Return warnings on a remote read fail ( #4832 )
...
Signed-off-by: Mark Knapp <mknapp@hudson-trading.com>
2018-11-30 14:27:12 +00:00
Ben Kochie
c6399296dc
Fix spelling/typos ( #4921 )
...
* Fix spelling/typos
Fix spelling/typos reported by codespell/misspell.
* UK -> US spelling changes.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-11-27 17:44:29 +01:00
Ganesh Vernekar
ca93fd544b
/api/v1/labels endpoint for getting all label names ( #4835 )
...
* vendor: update tsdb
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* /api/v1/labels endpoint
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* regex matchers for API
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add docs
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Matchers behaving as OR
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Removed the matchers
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* vendor: update tsdb using go mod
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* vendor update: tsdb
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Added LabelNames() to storage.Querier
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Test for api.labelNames
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Nits
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2018-11-19 15:51:14 +05:30
Brian Brazil
9c03e11c2c
Hook OpenMetrics parser into scraping.
...
Extend metadata api to support units.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-10-18 13:58:00 +01:00
Max Inden
ecf676cf97
web/api: Expose rule health and last error ( #4501 )
...
Expose rule health and last evaluation error on `/api/v1/rules`.
Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
2018-08-23 18:30:10 +05:30
Brian Brazil
cd54add5b8
Clarify that {a="b",a!="c"} is possible. ( #4492 )
...
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-08-13 11:38:57 +01:00
Julius Volz
0c54cf489b
Document "<bool>" placeholder in API ( #4465 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-08-04 21:30:53 +02:00
Max Leonard Inden
71fafad099
api/v1: Coninue work exposing rules and alerts
...
Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
2018-07-30 15:31:51 +02:00
Martin Chodur
504acf4a0a
docs: added undocumented step api parameter format ( #4360 )
2018-07-07 09:20:18 +01:00
Fabian Reinartz
057a5ae2b1
Address comments
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-06-06 11:21:17 -04:00
Fabian Reinartz
ad4c33c1ff
scrape,api: provide per-target metric metadata
...
This adds a per-target cache of scraped metadata. The metadata is only
available for the lifecycle of the attached target. An API endpoint allows
to select metadata by metric name and a label selection of targets.
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-06-06 05:56:10 -04:00
Julius Volz
fe10b36b30
Fix curl example for deleting series ( #4046 )
2018-04-05 13:06:18 +01:00
Fabian Reinartz
3e6c890aea
api: add flag to skip head on snapshots
2018-03-08 13:07:12 +01:00
Conor Broderick
99006d3baf
Added dropped targets API to targets endpoint ( #3870 )
2018-02-21 17:26:18 +00:00
Conor Broderick
1fd20fc954
Add dropped alertmanagers to alertmanagers API ( #3865 )
2018-02-21 09:00:07 +00:00
Bartek Plotka
93a63ac5fd
api: Added v1/status/flags endpoint. ( #3864 )
...
Endpoint URL: /api/v1/status/flags
Example Output:
```json
{
"status": "success",
"data": {
"alertmanager.notification-queue-capacity": "10000",
"alertmanager.timeout": "10s",
"completion-bash": "false",
"completion-script-bash": "false",
"completion-script-zsh": "false",
"config.file": "my_cool_prometheus.yaml",
"help": "false",
"help-long": "false",
"help-man": "false",
"log.level": "info",
"query.lookback-delta": "5m",
"query.max-concurrency": "20",
"query.timeout": "2m",
"storage.tsdb.max-block-duration": "36h",
"storage.tsdb.min-block-duration": "2h",
"storage.tsdb.no-lockfile": "false",
"storage.tsdb.path": "data/",
"storage.tsdb.retention": "15d",
"version": "false",
"web.console.libraries": "console_libraries",
"web.console.templates": "consoles",
"web.enable-admin-api": "false",
"web.enable-lifecycle": "false",
"web.external-url": "",
"web.listen-address": "0.0.0.0:9090",
"web.max-connections": "512",
"web.read-timeout": "5m",
"web.route-prefix": "/",
"web.user-assets": ""
}
}
```
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2018-02-21 08:49:02 +00:00
Brian Brazil
66b8bdbf4a
Fix docs for #3820 ( #3823 )
2018-02-11 23:35:08 +00:00
James Turnbull
380cacd3a4
Readability edits to vector matching ( #3624 )
...
* Added L3 headings - makes page a little easier to read
* Made use of right-hand and left-hand consistent
2017-12-26 10:28:39 +00:00
Krasi Georgiev
08ee713c82
example to show the difference between "sum by" and "sum without" ( #3558 )
2017-12-14 12:20:28 +00:00
Goutham Veeramachaneni
bee6864c14
Make the date returned by snapshot script friendly
...
Fixes #3568
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-12-10 15:14:31 -06:00
Goutham Veeramachaneni
f0599d4dbf
Incorporate review-feedback
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-12-07 09:06:04 -06:00
Goutham Veeramachaneni
311edc5a38
Merge branch 'master' into clean-tomb
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-12-05 10:23:21 -06:00
Goutham Veeramachaneni
d8515b2580
Move Admin APIs to v1
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-12-04 00:13:43 +05:30
Goutham Veeramachaneni
41b8f1f8fe
Add admin API docs
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-12-02 15:37:31 +05:30
Matthias Rampke
cae4538b3e
Docs: state that all regular expressions are RE2. ( #3518 )
...
We already mentioned that regular expressions are RE2 for
[relabeling][0], but left open what the regular expression syntax
anywhere else is.
In the querying examples and reference, make it explicit that _all_
regular expressions are RE2.
[0]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
2017-12-01 17:26:06 +00:00
Ben Kochie
40f33f45cb
Fix docs that use regexp anchors ( #3504 )
...
Remove/fix docs that use anchors in label regexp matches.
2017-11-22 12:11:21 +00:00
Julius Volz
02ca988bbd
Remove /api/v1/delete_series docs for 2.0 ( #3425 )
...
This endpoint has moved to /api/v2 (with somewhat different properties)
in Prometheus 2.0 and should now be part of a separate admin API page.
2017-11-07 22:37:03 +00:00
Brian Brazil
7187771f20
Document new staleness ( #3380 )
...
Remove "interpolation" for this heading, that hasn't
been in these docs for a long time.
2017-11-01 12:40:47 +00:00
Brian Brazil
faf4bb03ee
Docs: timestamp() function.
2017-10-27 15:54:45 +01:00
Brian Brazil
aeb524ad14
Docs: remove keep_common, count_scalar, drop_common_labels
2017-10-27 15:54:45 +01:00
Tobias Schmidt
f432b8176d
Consolidate configuration and rules docs in docs/configuration/
2017-10-27 09:54:02 +02:00
Tobias Schmidt
e6cdc2d355
Import querying documentation from prometheus/docs
2017-10-26 22:36:47 +02:00