Skip to content

Commit

Permalink
Add t128_procstat to testInput diff input condition (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: Sunan Jiang <sunanj@128technology.com>
  • Loading branch information
jiangsunan and sunanj-JNPR authored Dec 18, 2023
1 parent 987d170 commit 17fc1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (a *Agent) testRunInputs(
// Run plugins that require multiple gathers to calculate rate
// and delta metrics twice.
switch input.Config.Name {
case "cpu", "mongodb", "procstat":
case "cpu", "mongodb", "procstat", "t128_procstat":
nulAcc := NewAccumulator(input, nul)
nulAcc.SetPrecision(getPrecision(precision, interval))
if err := input.Input.Gather(nulAcc); err != nil {
Expand Down

0 comments on commit 17fc1c6

Please sign in to comment.