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

[WIP]metrics for lua bouncer #70

Closed
wants to merge 469 commits into from
Closed

[WIP]metrics for lua bouncer #70

wants to merge 469 commits into from

Conversation

sabban
Copy link
Contributor

@sabban sabban commented May 13, 2024

This adds the metrics feature to the lua bouncer:
It creates a timer thread with the ngx.timer.at function and manages to send metrics with the help of a new "plugins" metrics lib that manages the metrics.

There are still some open questions:

  • How to fill the os.name and os.version fields ?
  • taking care of the last_pull field ? (What is it for, by the way ?)
  • there are still a lot of debug entries marked with --debug for testing purposes to be cleaned before merging.

@buixor
Copy link
Contributor

buixor commented Aug 22, 2024

  • Origins are hardcoded (should be inferred directly from the data you receive)
  • Payload of the HTTP request needs to reflect latest changes
  • Bouncers needs to send delta instead of absolute values

@sabban sabban closed this Nov 5, 2024
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.

2 participants