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

feat: update puma and autotuner plugins #644

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

roelbondoc
Copy link
Member

This allows the Puma and Autotuner to emit an event for stats, or alternavitely aggregate the stats to save on data.

Disable stats events for Puma and Autotuner:

puma:
  insights:
    events: false
autotuner:
  insights:
    events: false

Note: The Autotuner plugin will still event the report.autotuner event regardless of the above setting.

Enable aggregated metics for Puma and Autotuner.

puma:
  insights:
    metrics: true
autotuner:
  insights:
    metrics: true

In addition, you can now customer the frequency that the Puma plugin will record the stats. The default is every 1 second.

puma:
  insights:
    collection_interval: 1

Before submitting a pull request, please make sure the following is done:

  1. If you've fixed a bug or added code that should be tested, add tests!
  2. Run rake spec in the repository root.
  3. Use a pull request title that conforms to conventional commits.

This allows the puma and autotuner to emit an event for stats, or
alternavitely aggregate the stats to save on data.

Disable stats events for puma and autotuner:
```
puma:
  insights:
    events: false
autotuner:
  insights:
    events: false
```

Note: The autotuner plugin will still event the `report.autotuner` event
regardless of the above setting.

Enable aggregated metics for puma and autotuner.
```
puma:
  insights:
    metrics: true
autotuner:
  insights:
    metrics: true
```
@roelbondoc roelbondoc requested a review from a team November 18, 2024 21:09
@roelbondoc roelbondoc merged commit 1ed9687 into master Nov 19, 2024
59 checks passed
@roelbondoc roelbondoc deleted the insights-autotuner-puma-changes branch November 19, 2024 20:11
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