Skip to content

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

@SgtPooki

Description

@SgtPooki

/**
* 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions