We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a Custom Data Provider class is implemented, the method [1] is being invoked twice at [2]. This can be optimzed.
[1] https://github.com/wso2/product-microgateway/blob/main/samples/analytics-custom-data-provider/src/main/java/org/wso2/carbon/apimgt/gateway/sample/publisher/CustomDataProvider.java#L36 [2] https://github.com/wso2/product-microgateway/blob/main/enforcer-parent/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoAnalyticsProvider.java#L227-L228
logger.org-wso2-analytics-publisher.name = org.wso2.carbon.apimgt.gateway.sample.publisher logger.org-wso2-analytics-publisher.level = TRACE logger.org-wso2-analytics-publisher.appenderRef.CARBON_TRACE_LOGFILE.ref = ENFORCER_ANALYTICS logger.org-wso2-analytics-reporter.name = org.wso2.am.analytics.publisher logger.org-wso2-analytics-reporter.level = TRACE logger.org-wso2-analytics-reporter.appenderRef.CARBON_TRACE_LOGFILE.ref = ENFORCER_ANALYTICS
Append the newly added loggers as below. loggers = org-wso2-analytics-publisher, org-wso2-analytics-reporter, enforcer, io-swagger-v3, enforcer-interceptors, carbon-apimgt
loggers = org-wso2-analytics-publisher, org-wso2-analytics-reporter, enforcer, io-swagger-v3, enforcer-interceptors, carbon-apimgt
Update the <CC_HOME>/docker-compose/choreo-connect(-with-apim)/conf/config.toml file with the following configurations.
[analytics] enabled = true type = "ELK" [analytics.adapter] bufferFlushInterval = "1s" bufferSizeBytes = 16384 gRPCRequestTimeout = "20s" [analytics.adapter.customProperties] enabled = true requestHeaders = ["host","content-type","content-length", "authorization","x-forwarded-for","x-original-forwarded-for","x-client-dn", ":path", ":authority"] responseHeaders = ["etag", "content-length"] [analytics.enforcer] [analytics.enforcer.configProperties] "publisher.reporter.class" = "org.wso2.am.analytics.publisher.sample.reporter.CustomReporter" "publisher.custom.data.provider.class" = "org.wso2.carbon.apimgt.gateway.sample.publisher.CustomDataProvider"
1.2.0
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
If a Custom Data Provider class is implemented, the method [1] is being invoked twice at [2]. This can be optimzed.
[1] https://github.com/wso2/product-microgateway/blob/main/samples/analytics-custom-data-provider/src/main/java/org/wso2/carbon/apimgt/gateway/sample/publisher/CustomDataProvider.java#L36
[2] https://github.com/wso2/product-microgateway/blob/main/enforcer-parent/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoAnalyticsProvider.java#L227-L228
Steps to Reproduce
Append the newly added loggers as below.
loggers = org-wso2-analytics-publisher, org-wso2-analytics-reporter, enforcer, io-swagger-v3, enforcer-interceptors, carbon-apimgt
Update the <CC_HOME>/docker-compose/choreo-connect(-with-apim)/conf/config.toml file with the following configurations.
Version
1.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: