View definition

func MetricsScrapingOption(path string) ServeOption

Defined in github.com/ipfs/go-ipfs/core/corehttp/metrics.go

Description

This adds the scraping endpoint which Prometheus uses to fetch metrics.