-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aab06f8
commit d89ed8e
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package prometheus | ||
|
||
// Config represents the configuration of the metrics | ||
type Config struct { | ||
// Host is the address to bind the metrics server | ||
Host string `mapstructure:"Host"` | ||
// Port is the port to bind the metrics server | ||
Port int `mapstructure:"Port"` | ||
// Enabled is the flag to enable/disable the metrics server | ||
Enabled bool `mapstructure:"Enabled"` | ||
} |
Empty file.