Skip to content

Commit

Permalink
feat: added query and query_range to VictoriaMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhil56x committed Sep 7, 2024
1 parent ef01977 commit 22f7701
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/workflows/query_victoriametrics.yml
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: []
33 changes: 33 additions & 0 deletions keep/providers/victoriametrics_provider/README.md
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)

0 comments on commit 22f7701

Please sign in to comment.