mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
fix: fix configuration and remove uneeded libs
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
This commit is contained in:
parent
a90aa34e71
commit
713903fe48
|
@ -16,7 +16,6 @@ package openstack
|
|||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"log"
|
||||
"log/slog"
|
||||
"net"
|
||||
"strconv"
|
||||
|
@ -120,7 +119,6 @@ func (i *LoadBalancerDiscovery) refresh(ctx context.Context) ([]*targetgroup.Gro
|
|||
// Fetch all floating IPs with pagination
|
||||
fipPages, err := floatingips.List(networkClient, floatingips.ListOpts{}).AllPages()
|
||||
if err != nil {
|
||||
log.Printf("Error calling OpenStack API: %v", err)
|
||||
return nil, fmt.Errorf("failed to list all fips: %w", err)
|
||||
}
|
||||
if err != nil {
|
||||
|
|
|
@ -1197,9 +1197,9 @@ The following meta labels are available on targets during [relabeling](#relabel_
|
|||
|
||||
#### `loadbalancer`
|
||||
|
||||
The `loadbalancer` role discovers one target per `PROMETHEUS` listener of
|
||||
Octavia loa dbalancer. The target address defaults to the VIP address of the
|
||||
load balancer.
|
||||
The `loadbalancer` role discovers one target per Octavia loadbalancer with a
|
||||
`PROMETHEUS` listener. The target address defaults to the VIP address
|
||||
of the load balancer.
|
||||
|
||||
The following meta labels are available on targets during [relabeling](#relabel_config):
|
||||
|
||||
|
|
Loading…
Reference in a new issue