OptionalcollectOptionaldefaultprom-client options to pass to the collectDefaultMetrics function
OptionalpreserveAll metrics in prometheus are global so to prevent clashes in naming we reset the global metrics registry on creation - to not do this, pass true here
OptionalregistryUse a custom registry to register metrics. By default, the global registry is used to register metrics.
OptionalstatfsThe current filesystem usage is reported as the metric
nodejs_fs_usage_bytes using the statfs function from node:fs - the
default location to stat is the current working directory, configured this
location here
By default we collect default metrics - CPU, memory etc, to not do this, pass true here