Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
silver-platter
dovecot-exporter
Commits
e7f79df7
Commit
e7f79df7
authored
Dec 22, 2016
by
Ed Schouten
Browse files
Use a properly allocated TCP port number.
parent
70738a1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dovecot_exporter.go
View file @
e7f79df7
...
...
@@ -133,7 +133,7 @@ func (e *DovecotExporter) Collect(ch chan<- prometheus.Metric) {
func
main
()
{
var
(
listenAddress
=
flag
.
String
(
"web.listen-address"
,
":91
99
"
,
"Address to listen on for web interface and telemetry."
)
listenAddress
=
flag
.
String
(
"web.listen-address"
,
":91
66
"
,
"Address to listen on for web interface and telemetry."
)
metricsPath
=
flag
.
String
(
"web.telemetry-path"
,
"/metrics"
,
"Path under which to expose metrics."
)
socketPath
=
flag
.
String
(
"dovecot.socket-path"
,
"/var/run/dovecot/stats"
,
"Path under which to expose metrics."
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment