Skip to content

Commit

Permalink
APIGOV-28475 - TA config optimization (#253)
Browse files Browse the repository at this point in the history
- Use CENTRAL_METRICREPORTING_PUBLISH and CENTRAL_METRICREPORTING_SCHEDULE for configuring metric event processing
- Remove TRACEABILITY_SAMPLING_REPORTALLERRORS and use TRACEABILITY_SAMPLING_ONLYERRORS
- Replace CENTRAL_USAGEREPORTING_USAGESCHEDULE with CENTRAL_USAGEREPORTING_SCHEDULE
  • Loading branch information
vivekschauhan authored Aug 8, 2024
1 parent 69e6687 commit 2c56706
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions traceability/apigee_traceability_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ apigee_traceability_agent:
platformURL: ${CENTRAL_PLATFORMURL:https://platform.axway.com}
reportActivityFrequency: ${CENTRAL_REPORTACTIVITYFREQUENCY:5m}
versionChecker: ${CENTRAL_VERSIONCHECKER:true}
metricReporting:
publish: ${CENTRAL_METRICREPORTING_PUBLISH}
schedule: ${CENTRAL_METRICREPORTING_SCHEDULE}
usageReporting:
publish: ${CENTRAL_USAGEREPORTING_PUBLISH}
publishMetric: ${CENTRAL_USAGEREPORTING_PUBLISHMETRIC}
interval: ${CENTRAL_USAGEREPORTING_INTERVAL}
reportInterval: ${CENTRAL_USAGEREPORTING_REPORTINTERVAL}
usageSchedule: ${CENTRAL_USAGEREPORTING_USAGESCHEDULE}
schedule: ${CENTRAL_USAGEREPORTING_SCHEDULE}
offline: ${CENTRAL_USAGEREPORTING_OFFLINE}
offlineSchedule: ${CENTRAL_USAGEREPORTING_OFFLINESCHEDULE}
auth:
Expand Down Expand Up @@ -113,10 +113,10 @@ output.traceability:
sanitize: ${TRACEABILITY_REDACTION_JMSPROPERTIES_SANITIZE:[]}
maskingCharacters: ${TRACEABILITY_REDACTION_MASKING_CHARACTERS:"\u007B*\u007D"} # unicode for {*}
sampling:
percentage: ${TRACEABILITY_SAMPLING_PERCENTAGE:10}
percentage: ${TRACEABILITY_SAMPLING_PERCENTAGE:0}
per_api: ${TRACEABILITY_SAMPLING_PER_API:true}
per_subscription: ${TRACEABILITY_SAMPLING_PER_SUBSCRIPTION:true}
reportAllErrors: ${TRACEABILITY_SAMPLING_REPORTALLERRORS:true}
onlyErrors: ${TRACEABILITY_SAMPLING_ONLYERRORS:false}
apiExceptionsList: ${TRACEABILITY_EXCEPTION_LIST:[]}

queue:
Expand Down

0 comments on commit 2c56706

Please sign in to comment.