Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

feat(datadog): Add DD RUM to flipt-node client #19

Merged
merged 7 commits into from
Sep 13, 2023
Merged

Conversation

yquansah
Copy link
Contributor

@yquansah yquansah commented Sep 5, 2023

This change introduces a client package for datadog RUM. It essentially wraps evaluation calls (variant, and boolean) with instrumenting DD RUM with feature flags.

@yquansah yquansah marked this pull request as ready for review September 12, 2023 13:26
@yquansah yquansah requested a review from a team as a code owner September 12, 2023 13:26
Copy link
Contributor

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

looking great, a couple naming suggestions

src/metrics.ts Outdated Show resolved Hide resolved
src/metrics.ts Outdated Show resolved Hide resolved
src/metrics.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

one small readme update

README.md Outdated

```typescript
import { datadogRum } from '@datadog/browser-rum';
import { FliptApiClientWithMetrics } from '@flipt-io/flipt/metrics';
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
import { FliptApiClientWithMetrics } from '@flipt-io/flipt/metrics';
import { FliptMetrics } from '@flipt-io/flipt/metrics';

Copy link
Contributor

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

nice!

@markphelps markphelps merged commit 5ddda34 into main Sep 13, 2023
2 checks passed
@markphelps markphelps deleted the yq-dd-rum branch September 13, 2023 15:38
This was referenced Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants