Skip to content

Commit ed9a621

Browse files
Merge pull request #67 from tarantool/tags-metrics-0.9.0
Add missing metrics label tags to Telegraf configuration
2 parents 983bdf6 + df00073 commit ed9a621

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
## Added
1010
- Prometheus example alert rules (instance state, memory usage, HTTP load and latency rule examples)
1111
- Test Prometheus example alert rules with promtool
12+
- Cartridge issues metrics labels to Telegraf configuration
13+
14+
## Changed
15+
- Update metrics version to 0.9.0
16+
17+
## Fixed
18+
- Add missing space and replication metrics labels to Telegraf configuration
1219

1320
## [0.2.3] - 2021-03-11
1421
Grafana revisions: [InfluxDB revision 4](https://grafana.com/api/dashboards/12567/revisions/4/download), [Prometheus revision 4](https://grafana.com/api/dashboards/13054/revisions/4/download)

doc/monitoring/grafana_dashboard.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ to Telegraf configuration including each Tarantool instance metrics URL:
9595
"label_pairs_path",
9696
"label_pairs_method",
9797
"label_pairs_status",
98-
"label_pairs_operation"
98+
"label_pairs_operation",
99+
"label_pairs_level",
100+
"label_pairs_id",
101+
"label_pairs_engine",
102+
"label_pairs_name",
103+
"label_pairs_index_name"
99104
]
100105
insecure_skip_verify = true
101106
interval = "10s"

example/project/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ WORKDIR /app
55
RUN yum install -y git \
66
cmake \
77
make \
8-
gcc
8+
gcc \
9+
gcc-c++
910
COPY . .
1011
RUN mkdir -p tmp
1112

example/project/project-scm-1.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dependencies = {
99
'lua >= 5.1',
1010
'checks == 3.0.1-1',
1111
'http == 1.1.0-1',
12-
'cartridge == 2.1.2-1',
13-
'metrics == 0.5.0-1'
12+
'cartridge == 2.6.0-1',
13+
'metrics == 0.9.0-1'
1414
}
1515
build = {
1616
type = 'none';

example/telegraf/telegraf.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
"label_pairs_path",
1515
"label_pairs_method",
1616
"label_pairs_status",
17-
"label_pairs_operation"
17+
"label_pairs_operation",
18+
"label_pairs_level",
19+
"label_pairs_id",
20+
"label_pairs_engine",
21+
"label_pairs_name",
22+
"label_pairs_index_name"
1823
]
1924
insecure_skip_verify = true
2025
interval = "10s"

0 commit comments

Comments
 (0)