You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
587 B
19 lines
587 B
// +build !monitoring |
|
|
|
package lncfg |
|
|
|
// Prometheus configures the Prometheus exporter when monitoring is enabled. |
|
// Monitoring is currently disabled. |
|
type Prometheus struct{} |
|
|
|
// DefaultPrometheus is the default configuration for the Prometheus metrics |
|
// exporter when monitoring is enabled. Monitoring is currently disabled. |
|
func DefaultPrometheus() Prometheus { |
|
return Prometheus{} |
|
} |
|
|
|
// Enabled returns whether or not Prometheus monitoring is enabled. Monitoring |
|
// is currently disabled, so Enabled will always return false. |
|
func (p *Prometheus) Enabled() bool { |
|
return false |
|
}
|
|
|