Azure / AppConfiguration-JavaScriptProvider

The configuration provider for consuming data in Azure App Configuration from JavaScript applications like Node or browser apps.
https://github.com/Azure/AppConfiguration
MIT License
9 stars 2 forks source link

Add feature filter usage tracing #108

Open zhiyuanliang-ms opened 1 month ago

zhiyuanliang-ms commented 1 month ago

Why this PR?

Collect telemetry for feature filter usage. (align with other providers)

Visible Change

Added integration test where a mock server is used to simulate response from App Config. The current mockAppConfigurationClientListConfigurationSettings method will not send http request @Eskibear. For the feature flag tracing scenario where we need to load feature flag in the first request, then parse the result and the feature flag related tracing will be included in the next request. So we have to create integration test here.

This is temporary solution. In the future, our test suite needs to be refactored