Skip to content

Commit 24ec801

Browse files
authored
Merge pull request #822 from cxvqo/master-2
Append openmetrics endpoints.
2 parents 8e834ef + b206781 commit 24ec801

File tree

1 file changed

+1
-0
lines changed
  • internal/endpoint/openmetrics

1 file changed

+1
-0
lines changed

internal/endpoint/openmetrics/om.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func (e *Endpoint) Configure(inlineArgs []string, cfg *config.Map) error {
6868
if endp.IsTLS() {
6969
return fmt.Errorf("%s: TLS is not supported yet", modName)
7070
}
71+
e.endpoints = append(e.endpoints, endp)
7172
}
7273

7374
return nil

0 commit comments

Comments
 (0)