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

Update default prometheus port #22

Closed
wants to merge 34 commits into from
Closed

Conversation

job
Copy link
Member

@job job commented Oct 15, 2021

job and others added 30 commits May 9, 2021 09:17
Animation created by Natasha Allegri
Utilize "VRP" terminology instead of "ROA" to be more concise.
Use the correct url in prometheus label
Adds `Last-Modified` header support and enables this (and `ETag`s)
by default for rtrmon.

I'm using rtrmon with a backend that suports `If-Modified-Since`
but not `If-None-Match`. To poll this often (sub-minute interval)
it is better to use conditional requests.
  * Track when the VRP was first seen for each VRP
  * Add a metric which tracks how many objects that were first seen
    [duration] ago are not present in the other endpoint.
    * Use current naming convention for the metric to be consistent (i.e. no
      prefix with application name).
  * Visibility thresholds can be overridden via command line arguments.
  * Format the default thresholds in help output
  * Add GitHub Actions build for docker image on docker hub.
  * Creates `rpki/stayrtr`, `rpki/rtrmon`, and `rpki/rtrdump` images
    (not all repositories exist at the moment).
Track objects that differ for a longer period separately
If they are disabled the wrong way (e.g. `-log.verbose false -loglevel debug`)
some of the arguments are eaten and later arguments no longer apply.
Clarify how boolean options are disabled in the help text.
Before this commit the new stayrtr state was only recalculated
when the validated cache changed.

This commit refactors the update loop and separates the actual
update from pulling the updated cache. The update is triggered
when the SLURM file changes _or_ when the validated cache changes.

Should fix cloudflare/gortr#95 and make
further changes that trigger an update when an update in the cache
has expired easier.
Refactor to update state when cache or SLURM changes
@ties
Copy link
Collaborator

ties commented Oct 17, 2021

Two daemons on the same port may be a bit annoying - I claimed 9866 for rtrmon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants