0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 06:45:39 +00:00

meta: align left metrics, alerts, and config options ()

This commit is contained in:
Ilya Mashchenko 2023-08-04 19:31:46 +03:00 committed by GitHub
parent ca1b3eebb2
commit 9de8a394d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions
integrations/templates

View file

@ -4,8 +4,8 @@
The following alerts are available:
| Alert name | On metric | Description |
|:------------:|:---------:|:-----------:|
| Alert name | On metric | Description |
|:------------|:----------|:------------|
[% for alert in entry.alerts %]
| [ [[ alert.name ]] ]([[ alert.link ]]) | [[ alert.metric ]] | [[ alert.info ]] |
[% endfor %]

View file

@ -18,8 +18,8 @@ The scope defines the instance that the metric belongs to. An instance is unique
[% if scope.labels %]
Labels:
| Label | Description |
|:-----------:|:----------------:|
| Label | Description |
|:-----------|:----------------|
[% for label in scope.labels %]
| [[ label.name ]] | [[ label.description ]] |
[% endfor %]
@ -31,7 +31,7 @@ Metrics:
| Metric | Dimensions | Unit |[% for a in entry.metrics.availability %] [[ a ]] |[% endfor %]
|:------:|:----------:|:----:|[% for a in entry.metrics.availability %]:---:|[% endfor %]
|:------|:----------|:----|[% for a in entry.metrics.availability %]:---:|[% endfor %]
[% for metric in scope.metrics %]
| [[ metric.name ]] | [% for d in metric.dimensions %][[ d.name ]][% if not loop.last %], [% endif %][% endfor %] | [[ metric.unit ]] |[% for a in entry.metrics.availability %] [% if not metric.availability|length or a in metric.availability %]•[% else %] [% endif %] |[% endfor %]

View file

@ -63,7 +63,7 @@ There is no configuration file.
{% details summary="[[ entry.setup.configuration.options.folding.title ]]" %}
[% endif %]
| Name | Description | Default | Required |
|:----:|:-----------:|:-------:|:--------:|
|:----|:-----------|:-------|:--------:|
[% for item in entry.setup.configuration.options.list %]
| [[ item.name ]] | [[ item.description ]] | [[ item.default ]] | [[ item.required ]] |
[% endfor %]