Skip to content

Cloud load balancer plugin uses name to create metrics output #135

@sanxiago

Description

@sanxiago

each metric is output is identified by 2 variables %s.%s % (name,metric)

name is created by
name = instance.name.lower().replace('-', '_')

if name has spaces the metrics fail to be picked up by the alarm setup as spaces are not filtered

I ended up defaulting the name to a fixed string 'lb', as I am re using the alert syntax between load balancer checks.

For setting up checks I do not see the value of changing the name of the metrics based on the load balancer the name of the metrics should remain the same regardless of the load balancer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions