-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added query and query_range to VictoriaMetrics
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
workflow: | ||
id: query-victoriametrics | ||
name: victoriametrics | ||
description: victoriametrics | ||
triggers: | ||
- type: manual | ||
steps: | ||
- name: victoriametrics-step | ||
provider: | ||
config: "{{ providers.victoriametrics }}" | ||
type: victoriametrics | ||
with: | ||
query: process_memory_limit_bytes | ||
queryType: query | ||
actions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## Guide to deploy VictoriaMetrics using docker | ||
|
||
### 1. Clone the repository | ||
|
||
```bash | ||
git clone https://github.com/VictoriaMetrics/VictoriaMetrics.git | ||
``` | ||
|
||
### 2. Change the directory to docker | ||
|
||
```bash | ||
cd deployment/docker | ||
``` | ||
|
||
### 3. Change the ports in the docker-compose file to avoid conflicts with the keep services | ||
|
||
```bash | ||
sed -i -e 's/3000:3000/3001:3000/' -e 's/127.0.0.1:3000/127.0.0.1:3001/' docker-compose.yml | ||
``` | ||
|
||
### 3. Run the docker-compose file | ||
|
||
```bash | ||
docker-compose up -d | ||
``` | ||
|
||
### 4. You can access the following services on the following ports | ||
|
||
vicotriametrics - [http://localhost:8428](http://localhost:8428) | ||
grafana - [http://localhost:3001](http://localhost:3001) | ||
vmagent - [http://localhost:8429](http://localhost:8429) | ||
vmalert - [http://localhost:8880](http://localhost:8880) | ||
alertmanager - [http://localhost:9093](http://localhost:9093) |