We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3127733 commit 4a4f7b4Copy full SHA for 4a4f7b4
libs/providers/launchdarkly-client/README.md
@@ -59,6 +59,16 @@ await OpenFeature.setContext({ key: 'my-key' });
59
60
Read more about LD contexts [here](https://launchdarkly.github.io/js-client-sdk/interfaces/LDContextCommon.html)
61
62
+## Tracking
63
+
64
+You can send custom events to LaunchDarkly metrics for use in
65
+experiments and guarded rollouts. To learn more, read [Metrics](https://launchdarkly.com/docs/home/observability/metrics).
66
67
+```ts
68
+const client = await OpenFeature.getClient();
69
+client.track('event-key-123abc', { customProperty: someValue })
70
+```
71
72
## Building
73
74
Run `nx package providers-launchdarkly-client` to build the library.
0 commit comments