Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos
Commits
256fbe2c
Commit
256fbe2c
authored
Nov 08, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/grafana: use new schemas for telegraf inputs
parent
c9a92770
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
software/grafana/buildout.hash.cfg
software/grafana/buildout.hash.cfg
+1
-1
software/grafana/instance-agent.cfg.in
software/grafana/instance-agent.cfg.in
+13
-11
No files found.
software/grafana/buildout.hash.cfg
View file @
256fbe2c
...
@@ -23,7 +23,7 @@ md5sum = b4330fbe0c9c3631f4f477c06d3460b3
...
@@ -23,7 +23,7 @@ md5sum = b4330fbe0c9c3631f4f477c06d3460b3
[instance-agent]
[instance-agent]
filename = instance-agent.cfg.in
filename = instance-agent.cfg.in
md5sum =
64b7015eb7f0a6490c437cb0693d707b
md5sum =
cda6b69dfdd8e5635cfdeaf73b3250e5
[influxdb-config-file]
[influxdb-config-file]
...
...
software/grafana/instance-agent.cfg.in
View file @
256fbe2c
...
@@ -137,17 +137,6 @@ init =
...
@@ -137,17 +137,6 @@ init =
"tags": {
"tags": {
"computer_id": slap_connection['computer-id'],
"computer_id": slap_connection['computer-id'],
},
},
# built-in inputs
"cpu": {
"drop": ["cpu_time"],
"percpu": True,
"totalcpu": True,
},
"disk": {},
"io": {},
"mem": {},
"system": {},
"inputs": inputs,
"inputs": inputs,
"processors": processors,
"processors": processors,
...
@@ -164,6 +153,19 @@ init =
...
@@ -164,6 +153,19 @@ init =
},
},
},
},
}
}
# built-in inputs
inputs["cpu"].append(
{
"drop": ["cpu_time"],
"percpu": True,
"totalcpu": True,
}
)
inputs["disk"].append({})
inputs["io"].append({})
inputs["mem"].append({})
inputs["system"].append({})
for application in slapparameter_dict.get("applications", []):
for application in slapparameter_dict.get("applications", []):
partition_mapping = {}
partition_mapping = {}
partition_root_directory = ''
partition_root_directory = ''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment