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

APIGOV-28475 - TA config optimization #817

Merged
merged 7 commits into from
Aug 8, 2024
Merged

APIGOV-28475 - TA config optimization #817

merged 7 commits into from
Aug 8, 2024

Conversation

vivekschauhan
Copy link
Collaborator

  • Deprecate USAGEREPORTING_INTERVAL
  • New config for setting schedule for metric event, default to an hour
  • Remove TRACEABILITY_SAMPLING_REPORTALLERRORS
  • Added TRACEABILITY_SAMPLING_ONLYERRORS, default to false, when set only errors are sampled
  • Updated sampling counting to include errors

- Deprecate USAGEREPORTING_INTERVAL
- New config for setting schedule for metric event, default to an hour
- Remove TRACEABILITY_SAMPLING_REPORTALLERRORS
- Added TRACEABILITY_SAMPLING_ONLYERRORS, default to false, when set only errors are sampled
- Updated sampling counting to include errors
@@ -25,7 +25,7 @@ type Sampling struct {
Percentage float64 `config:"percentage"`
PerAPI bool `config:"per_api"`
PerSub bool `config:"per_subscription"`
ReportAllErrors bool `config:"reportAllErrors" yaml:"reportAllErrors"`
OnlyErrors bool `config:"onlyErrors" yaml:"onlyErrors"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes me happy

jcollins-axway
jcollins-axway previously approved these changes Aug 6, 2024
sbolosan
sbolosan previously approved these changes Aug 6, 2024
- Deprecate CENTRAL_USAGEREPORTING_USAGESCHEDULE
- Added CENTRAL_USAGEREPORTING_SCHEDULE
@vivekschauhan vivekschauhan dismissed stale reviews from sbolosan and jcollins-axway via a650e2f August 7, 2024 12:24
sbolosan
sbolosan previously approved these changes Aug 7, 2024
sbolosan
sbolosan previously approved these changes Aug 7, 2024
jcollins-axway
jcollins-axway previously approved these changes Aug 7, 2024
jcollins-axway
jcollins-axway previously approved these changes Aug 8, 2024
sbolosan
sbolosan previously approved these changes Aug 8, 2024
@jcollins-axway jcollins-axway dismissed stale reviews from sbolosan and themself via 5300020 August 8, 2024 17:37
@vivekschauhan vivekschauhan merged commit fde925d into main Aug 8, 2024
2 of 3 checks passed
@vivekschauhan vivekschauhan deleted the APIGOV-28475 branch August 8, 2024 17:46
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