Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
b55e9e78
Commit
b55e9e78
authored
8 years ago
by
Cameron Sparr
Browse files
Options
Downloads
Patches
Plain Diff
gopsutil, fix /proc/pid/io naming issue
closes #1584
parent
4bc6fdb0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
Godeps
+1
-1
1 addition, 1 deletion
Godeps
plugins/inputs/procstat/spec_processor.go
+1
-1
1 addition, 1 deletion
plugins/inputs/procstat/spec_processor.go
with
3 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
b55e9e78
...
...
@@ -14,6 +14,7 @@
-
[
#1430
](
https://github.com/influxdata/telegraf/issues/1430
)
: Fix prometheus character sanitizing. Sanitize more win_perf_counters characters.
-
[
#1534
](
https://github.com/influxdata/telegraf/pull/1534
)
: Add diskio io_time to FreeBSD & report timing metrics as ms (as linux does).
-
[
#1379
](
https://github.com/influxdata/telegraf/issues/1379
)
: Fix covering Amazon Linux for post remove flow.
-
[
#1584
](
https://github.com/influxdata/telegraf/issues/1584
)
: procstat missing fields: read/write bytes & count
## v1.0 beta 3 [2016-07-18]
...
...
This diff is collapsed.
Click to expand it.
Godeps
+
1
−
1
View file @
b55e9e78
...
...
@@ -44,7 +44,7 @@ github.com/prometheus/client_model fa8ad6fec33561be4280a8f0514318c79d7f6cb6
github.com/prometheus/common e8eabff8812b05acf522b45fdcd725a785188e37
github.com/prometheus/procfs 406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8
github.com/samuel/go-zookeeper 218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f
github.com/shirou/gopsutil
ee66bc560c366dd33b9a4046ba0b644caba46bed
github.com/shirou/gopsutil
4d0c402af66c78735c5ccf820dc2ca7de5e4ff08
github.com/soniah/gosnmp b1b4f885b12c5dcbd021c5cee1c904110de6db7d
github.com/sparrc/aerospike-client-go d4bb42d2c2d39dae68e054116f4538af189e05d5
github.com/streadway/amqp b4f3ceab0337f013208d31348b578d83c0064744
...
...
This diff is collapsed.
Click to expand it.
plugins/inputs/procstat/spec_processor.go
+
1
−
1
View file @
b55e9e78
...
...
@@ -71,7 +71,7 @@ func (p *SpecProcessor) pushMetrics() {
fields
[
prefix
+
"read_count"
]
=
io
.
ReadCount
fields
[
prefix
+
"write_count"
]
=
io
.
WriteCount
fields
[
prefix
+
"read_bytes"
]
=
io
.
ReadBytes
fields
[
prefix
+
"write_bytes"
]
=
io
.
Write
Count
fields
[
prefix
+
"write_bytes"
]
=
io
.
Write
Bytes
}
cpu_time
,
err
:=
p
.
proc
.
Times
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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