Skip to content

Hardcode USER_HZ to 100.#4

Merged
juliusv merged 1 commit intomasterfrom
constantize-user-hz
Mar 31, 2015
Merged

Hardcode USER_HZ to 100.#4
juliusv merged 1 commit intomasterfrom
constantize-user-hz

Conversation

@juliusv
Copy link
Copy Markdown
Member

@juliusv juliusv commented Mar 31, 2015

See comment in the file for details.

See comment in the file for details.
@juliusv
Copy link
Copy Markdown
Member Author

juliusv commented Mar 31, 2015

@discordianfish
Copy link
Copy Markdown
Member

👍

1 similar comment
@brian-brazil
Copy link
Copy Markdown
Contributor

👍

juliusv added a commit that referenced this pull request Mar 31, 2015
@juliusv juliusv merged commit efa9604 into master Mar 31, 2015
@juliusv juliusv deleted the constantize-user-hz branch March 31, 2015 16:09
juliusv added a commit to prometheus/client_golang that referenced this pull request Mar 31, 2015
The cgo dependency in the "procfs" package is being removed in:

  prometheus/procfs#4

So now it should be fine to always import the "procfs" package and have
it determine dynamically at runtime whether the proc filesystem is
actually there.

This fixes a problem for users which were vendoring client_golang on
MacOS X, but building the result on Linux (the procfs package was
missing in the vendored packages).
@beorn7
Copy link
Copy Markdown
Member

beorn7 commented Mar 31, 2015

👍

Want @grobie to reply, too...

@grobie
Copy link
Copy Markdown
Member

grobie commented Mar 31, 2015

👍 :)

Cori1109 added a commit to Cori1109/client_golang that referenced this pull request Jan 9, 2023
The cgo dependency in the "procfs" package is being removed in:

  prometheus/procfs#4

So now it should be fine to always import the "procfs" package and have
it determine dynamically at runtime whether the proc filesystem is
actually there.

This fixes a problem for users which were vendoring client_golang on
MacOS X, but building the result on Linux (the procfs package was
missing in the vendored packages).
bobrik pushed a commit to bobrik/procfs that referenced this pull request Jan 14, 2023
use kibibytes to parse meminfo file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants