Skip to content

Commit

Permalink
go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Nov 26, 2024
1 parent 7955534 commit 7692d3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.8

require (
github.com/docker/docker v26.1.5+incompatible
github.com/elastic/elastic-agent-libs v0.17.4-0.20241120070353-4a2d1a91a043
github.com/elastic/elastic-agent-libs v0.17.4-0.20241126154321-6ed75416832d
github.com/elastic/go-licenser v0.4.2
github.com/elastic/go-structform v0.0.9
github.com/elastic/go-sysinfo v1.14.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/elastic/elastic-agent-libs v0.17.4-0.20241120070353-4a2d1a91a043 h1:Hi7lTJZPfAcmQmVges9IQkhAMv9f7Q+DbA9FBqU6Wf0=
github.com/elastic/elastic-agent-libs v0.17.4-0.20241120070353-4a2d1a91a043/go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M=
github.com/elastic/elastic-agent-libs v0.17.4-0.20241126154321-6ed75416832d h1:nY8LSeTYU1uSDAAg7WwGH/cALgdovAXLdIzV25Ky0Bo=
github.com/elastic/elastic-agent-libs v0.17.4-0.20241126154321-6ed75416832d/go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M=
github.com/elastic/go-licenser v0.4.2 h1:bPbGm8bUd8rxzSswFOqvQh1dAkKGkgAmrPxbUi+Y9+A=
github.com/elastic/go-licenser v0.4.2/go.mod h1:W8eH6FaZDR8fQGm+7FnVa7MxI1b/6dAqxz+zPB8nm5c=
github.com/elastic/go-structform v0.0.9 h1:HpcS7xljL4kSyUfDJ8cXTJC6rU5ChL1wYb6cx3HLD+o=
Expand Down
6 changes: 3 additions & 3 deletions metric/cpu/metrics_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ func buildQuery() (pdh.Query, error) {
if err := q.Open(); err != nil {
return q, err
}
if err := q.AddCounter(totalKernelTimeCounter, "", "", true); err != nil {
if err := q.AddCounter(totalKernelTimeCounter, "", "", true, true); err != nil {
return q, err
}
if err := q.AddCounter(totalUserTimeCounter, "", "", true); err != nil {
if err := q.AddCounter(totalUserTimeCounter, "", "", true, true); err != nil {
return q, err
}
if err := q.AddCounter(totalIdleTimeCounter, "", "", true); err != nil {
if err := q.AddCounter(totalIdleTimeCounter, "", "", true, true); err != nil {
return q, err
}
return q, nil
Expand Down

0 comments on commit 7692d3a

Please sign in to comment.