Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metrics for tracking live servers #113

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 21, 2022

  1. Add metrics for tracking live servers

    This should allow us to correlate the servers that drone thinks it knows
    about with those that GCP has
    iainlane committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    0e27f0f View commit details
    Browse the repository at this point in the history
  2. Fix server delete tests

    Now we pass a collector to `ServerDelete()`, more metrics are in the
    registry and the ones we want are at the end.
    iainlane committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    b5f8ab0 View commit details
    Browse the repository at this point in the history
  3. Add feature flag DRONE_AUTOSCALER_REGISTER_KNOWN_SERVERS

    Only expose the new metrics when this variable is set
    iainlane committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    8ee3814 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Review feedback

    Rename to DRONE_METRICS_REGISTER_KNOWN_SERVERS, expose via config
    struct, reorder imports
    iainlane committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    68d4590 View commit details
    Browse the repository at this point in the history