You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "app/vlselect: introduce -vmalert.proxyURL flag to proxy /select/vmalert requests to VMAlert (#5)"
This reverts commit 2d4b343.
Reason for revert: this commit mixes two unrelated features:
- Proxying vmalert requests ( #90 )
- Introducing vmui config handler at /select/vmui/config.json ( there should be a separate feature request with the explanation why this handler is needed )
- Returning AccountID and ProjectID response headers ( #656 )
It is better from the maintenance and git history investigation PoV to split the implementation of these features into separate pull requests.
This commit also has a few issues in the code, which must be addressed in the follow-up pull requests:
- The description of the `-vmalert.proxyURL` command-line flag misses a whitespace between the `vmalert.` and `See`.
- The description of the `-vmalert.proxyURL` command-line flag contains non-canonical link to docs - https://docs.victoriametrics.com/victorialogs#vmalert .
It must be https://docs.victoriametrics.com/victorialogs/#vmalert
- The `r.URL.Path = strings.TrimPrefix(path, "/select")` line isn't needed in the code block, which returns vmui config to the client.
Updates #5
Copy file name to clipboardExpand all lines: docs/victorialogs/CHANGELOG.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,6 @@ according to [these docs](https://docs.victoriametrics.com/victorialogs/quicksta
19
19
## tip
20
20
21
21
* FEATURE: [querying](https://docs.victoriametrics.com/victorialogs/querying/): add an ability to return partial responses in [VictoriaLogs cluster setup](https://docs.victoriametrics.com/victorialogs/cluster/) when some of `vlstorage` nodes are unavailable. See [these docs](https://docs.victoriametrics.com/victorialogs/querying/#partial-responses) for details. See [#72](https://github.com/VictoriaMetrics/VictoriaLogs/issues/72).
22
-
* FEATURE: proxy VMAlert requests at `/select/vmalert` path, when `-vmalert.proxyURL` flag is set. See [#90](https://github.com/VictoriaMetrics/VictoriaLogs/issues/90).
23
22
* FEATURE: [vlselect](https://docs.victoriametrics.com/victorialogs/cluster/): add `-storageNode.usernameFile` command-line flag for dynamically reloading basic auth username for the corresponding `-storageNode` from the given file. See [#459](https://github.com/VictoriaMetrics/VictoriaLogs/issues/459).
24
23
25
24
* BUGFIX: [LogsQL](https://docs.victoriametrics.com/victorialogs/logsql/): disallow incorrectly written filters such as `foo = bar`, `foo != bar`, `foo > bar`, etc. They must be written as `foo:=bar`, `foo:!=bar`, `foo:>bar`. See [#590](https://github.com/VictoriaMetrics/VictoriaLogs/issues/590).
Copy file name to clipboardExpand all lines: docs/victorialogs/README.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,13 +339,6 @@ The following steps must be performed for restoring the partition data from back
339
339
340
340
It is also possible to use **the disk snapshot** feature provided by the operating system or cloud provider in order to perform a backup.
341
341
342
-
## vmalert
343
-
344
-
VictoriaLogs is capable of proxying requests to [VMAlert](https://docs.victoriametrics.com/victorialogs/vmalert/)
345
-
when `-vmalert.proxyURL` flag is set. Use this feature for accessing VMAlert API through VictoriaLogs Web interface.
346
-
347
-
For accessing VMAlert API through VictoriaLogs configure `-vmalert.proxyURL` flag. All VMAlert endpoints become available at `http://<victorialogs-addr>:9428/select/vmalert`.
348
-
349
342
## Multitenancy
350
343
351
344
VictoriaLogs supports multitenancy. A tenant is identified by `(AccountID, ProjectID)` pair, where `AccountID` and `ProjectID` are arbitrary 32-bit unsigned integers.
Copy file name to clipboardExpand all lines: docs/victorialogs/vmalert.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,6 @@ and [`/select/logsql/stats_query_range`](https://docs.victoriametrics.com/victor
18
18
These endpoints return the log stats in a format compatible with [Prometheus querying API](https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries).
19
19
It allows using VictoriaLogs as the datasource in vmalert, creating alerting and recording rules via [LogsQL](https://docs.victoriametrics.com/victorialogs/logsql/).
20
20
21
-
Configure `-vmalert.proxyURL` on [VictoriaLogs](https://docs.victoriametrics.com/victorialogs/#vmalert){{% available_from "#" %}} to proxy requests to `vmalert`.
22
-
Proxying is needed to access `vmalert`'s UI through [vmui](https://docs.victoriametrics.com/#vmui).
23
-
24
21
> This page provides only integration instructions for vmalert and VictoriaLogs. See the full textbook for vmalert [here](https://docs.victoriametrics.com/victoriametrics/vmalert/).
0 commit comments