Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
229660230
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
229660230
Commits
99f5ecd6
Unverified
Commit
99f5ecd6
authored
2 years ago
by
Zexi Li
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #14421 from zexi/telegraf-1.19.2-conf
fix(host): Telegraf 1.19.2 conf
parents
dbd94a12
d061c10c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/hostman/system_service/telegraf.go
+4
-1
4 additions, 1 deletion
pkg/hostman/system_service/telegraf.go
with
4 additions
and
1 deletion
pkg/hostman/system_service/telegraf.go
+
4
−
1
View file @
99f5ecd6
...
...
@@ -176,8 +176,11 @@ func (s *STelegraf) GetConfig(kwargs map[string]interface{}) string {
conf
+=
"[[inputs.internal]]
\n
"
conf
+=
" collect_memstats = false
\n
"
conf
+=
"
\n
"
conf
+=
"[[inputs.http_listener]]
\n
"
conf
+=
"[[inputs.http_listener
_v2
]]
\n
"
conf
+=
" service_address =
\"
127.0.0.1:8087
\"\n
"
conf
+=
" path =
\"
/write
\"\n
"
conf
+=
" data_source =
\"
body
\"\n
"
conf
+=
" data_format =
\"
influx
\"\n
"
conf
+=
"
\n
"
return
conf
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment