Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: METRICS env var should enable libp2p promclient metrics? #39

Open
SgtPooki opened this issue Oct 27, 2023 · 0 comments
Open

feat: METRICS env var should enable libp2p promclient metrics? #39

SgtPooki opened this issue Oct 27, 2023 · 0 comments

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Oct 27, 2023

/**
* If set to any value other than 'true', we will disable prometheus metrics.
*
* @default 'true'
*/
export const METRICS = process.env.METRICS ?? 'true'

we may want a separate env var for this

came up during https://pl-strflt.notion.site/2023-10-26-Helia-Working-Group-ac880b0ddb244f64bb224367167e2ad7?pvs=4

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

No branches or pull requests

1 participant