-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
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
feat(analytics): Analytics Feature #2725
Merged
Merged
Changes from 26 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
0958449
feat(analytics): initial commit for querying analytics behind a contr…
yquansah 25189e6
chore: remove unused import in proto file
yquansah dec1342
chore: remove all mention of 'metrics'
yquansah f1c810b
chore(analytics): address comments related to including namespace_key…
yquansah 2522702
chore(analytics): couple more changes
yquansah 81b037e
feat(clickhouse): include migrations for clickhouse
yquansah f8d2c68
feat(analytics): introduce migrations for analytics
yquansah 8994a1e
chore: remove excessive interface declarations
yquansah 8b495c3
chore(clickhouse): specify database name and fix some typos
yquansah 5de89e1
feat(analytics): start adding UI bits
yquansah 0049e97
chore: remove leftover cruft
yquansah ea3e6d7
feat(analytics): fix migrator to separate methods and write initial t…
yquansah 715c74c
feat(analytics): a lot more fixes to clickhouse and UI changes
yquansah 6ec7ae6
chore: fix merge conflicts
yquansah d68330a
chore: fix linting issues
yquansah 6c49efa
chore: more lint fixes
yquansah 4e83449
feat(analytics):
yquansah 5b292dc
chore(analytics): remove evaluation server options
yquansah 94497a1
feat(analytics): add batch implementation
yquansah 79493d7
feat(clickhouse): use enums for data type
yquansah 636081d
feat(clickhouse/ui): fix a couple ui issues, and force migrations
yquansah 04dcb84
chore(analytics): use different flag name for analytics migrations
yquansah 3481997
chore: fix merge conflicts
yquansah 9e5a32e
chore(analytics): fix span exporter test
yquansah 3b9389f
feat(clickhouse): Add authentication parameters for clickhouse and DR…
yquansah f997fb9
chore: fix schema tests
yquansah c5886b0
feat(analytics): add analytics on frontend for boolean flags
yquansah 3fd2541
chore(ui): fix ui TypeScript issues
yquansah a780c21
Merge remote-tracking branch 'origin/main' into add-metrics
yquansah 5c73f4b
chore: UI issue with undefined value
yquansah 337b179
chore: nest analytical storage backends under top-level storage key
yquansah 73ce438
feat(clickhouse): address comments related to comments and introduce …
yquansah fac4df5
chore: remove requirement of using flipt_analytics for the user to us…
yquansah bcaef1a
chore: fix analytics defaults
markphelps 8a1472b
chore: style analytics well
markphelps a1ec2e4
Merge pull request #2752 from flipt-io/analytics-well
yquansah fe81c81
Merge branch 'main' into add-metrics
markphelps 2727349
chore: add UTC functionality and 1 day look back
yquansah 258ed14
Merge remote-tracking branch 'origin/main' into add-metrics
yquansah 434e7d6
Merge remote-tracking branch 'origin/add-metrics' into add-metrics
yquansah 3df3e05
chore: Update ui/src/components/graphs/index.tsx
markphelps e2b1e41
Merge branch 'main' into add-metrics
markphelps ec2baec
chore: add link to future docs
markphelps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE IF NOT EXISTS flipt_counter_analytics ( | ||
`timestamp` DateTime('UTC'), `analytic_name` String, `namespace_key` String, `flag_key` String, `flag_type` Enum('VARIANT_FLAG_TYPE' = 1, 'BOOLEAN_FLAG_TYPE' = 2), `reason` Enum('UNKNOWN_EVALUATION_REASON' = 1, 'FLAG_DISABLED_EVALUATION_REASON' = 2, 'MATCH_EVALUATION_REASON' = 3, 'DEFAULT_EVALUATION_REASON' = 4), `match` Bool, `value` UInt32 | ||
yquansah marked this conversation as resolved.
Show resolved
Hide resolved
|
||
) Engine = MergeTree | ||
ORDER BY timestamp | ||
TTL timestamp + INTERVAL 1 WEEK; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.