Skip to content

Commit

Permalink
k8s-stack: added alertmanager datasource, vl-single: added dashboard …
Browse files Browse the repository at this point in the history
…and rules (#1593)

* k8s-stack: added alertmanager datasource and victorialogs dashboard

* vlogs: added grafana dashboard

* added vlogs to k8s-stack

* updated readme

* migrate hacks to root

* updated app version in logs chart

* moved custom datasources out of grafana section, use vmauth if it's enabled

* addressed pr comments
  • Loading branch information
AndrewChubatiuk authored Oct 23, 2024
1 parent 6237358 commit f3aac52
Show file tree
Hide file tree
Showing 54 changed files with 4,666 additions and 1,975 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONTAINER_TOOL ?= docker
REPODIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
WORKDIR := $(REPODIR)/..

include $(shell find charts -name Makefile)
include $(shell find hack -name Makefile)

ifeq ($(CONTAINER_TOOL),docker)
CONTAINER_USER_OPTION = --user $(shell id -u):$(shell id -g)
Expand Down
3 changes: 2 additions & 1 deletion charts/victoria-logs-single/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Next release

- Custom fluent-bit template to push data to multiple VLogs instances when replica count is greated than 1.
- Added grafana dashboard. See [this issue](https://github.com/VictoriaMetrics/helm-charts/issues/1590)
- Custom fluent-bit template to push data to multiple VLogs instances when replica count is greated than 1

## 0.6.6

Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-logs-single/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.37.0
description: Victoria Logs Single version - high-performance, cost-effective and scalable logs storage
name: victoria-logs-single
version: 0.6.6
version: 0.7.0
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
65 changes: 64 additions & 1 deletion charts/victoria-logs-single/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Version: 0.6.6](https://img.shields.io/badge/Version-0.6.6-informational?style=flat-square)
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/victoriametrics)](https://artifacthub.io/packages/helm/victoriametrics/victoria-logs-single)
[![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/)

Expand Down Expand Up @@ -143,6 +143,69 @@ Change the values according to the need of the environment in ``victoria-logs-si
<th class="helm-vars-description">Description</th>
</thead>
<tbody>
<tr>
<td>dashboards.annotations</td>
<td>object</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="plaintext">
<code class="language-yaml">{}
</code>
</pre>
</td>
<td><p>Dashboard annotations</p>
</td>
</tr>
<tr>
<td>dashboards.enabled</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">false
</code>
</pre>
</td>
<td><p>Create VictoriaLogs dashboards</p>
</td>
</tr>
<tr>
<td>dashboards.grafanaOperator.enabled</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">false
</code>
</pre>
</td>
<td></td>
</tr>
<tr>
<td>dashboards.grafanaOperator.spec.allowCrossNamespaceImport</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">false
</code>
</pre>
</td>
<td></td>
</tr>
<tr>
<td>dashboards.grafanaOperator.spec.instanceSelector.matchLabels.dashboards</td>
<td>string</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">grafana
</code>
</pre>
</td>
<td></td>
</tr>
<tr>
<td>dashboards.labels</td>
<td>object</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="plaintext">
<code class="language-yaml">{}
</code>
</pre>
</td>
<td><p>Dashboard labels</p>
</td>
</tr>
<tr>
<td>extraObjects</td>
<td>list</td>
Expand Down
Loading

0 comments on commit f3aac52

Please sign in to comment.