Skip to content
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

Add sentiment bal vc v2 metrics #4010

Closed
wants to merge 10 commits into from

Conversation

volynvlad
Copy link
Member

@volynvlad volynvlad commented Dec 1, 2023

Changes

Add sentiment balance and sentiment volume consumed v2 metrics (calculated with CH instead of ES + python)

Ticket

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have tried to find clearer solution before commenting hard-to-understand parts of code
  • I have added tests that prove my fix is effective or that my feature works

@volynvlad volynvlad force-pushed the add-sentiment-bal-vc-v2-metrics branch 2 times, most recently from ed7d804 to 07fc31d Compare December 1, 2023 14:48
@volynvlad volynvlad force-pushed the add-sentiment-bal-vc-v2-metrics branch from 07fc31d to ae5c5e8 Compare December 1, 2023 14:55
@volynvlad volynvlad force-pushed the add-sentiment-bal-vc-v2-metrics branch 2 times, most recently from f501093 to 14a39ef Compare December 4, 2023 12:14
@volynvlad volynvlad force-pushed the add-sentiment-bal-vc-v2-metrics branch from 8517692 to b0d0e97 Compare December 4, 2023 12:27
@IvanIvanoff IvanIvanoff force-pushed the add-sentiment-bal-vc-v2-metrics branch 2 times, most recently from 59383d1 to b21624e Compare December 4, 2023 12:34
@volynvlad volynvlad force-pushed the add-sentiment-bal-vc-v2-metrics branch from b21624e to 50bb236 Compare December 5, 2023 15:32
@@ -1434,6 +1434,56 @@ defmodule Sanbase.Billing.MetricAccessLevelTest do
"total_trustlines_count",
"dex_volume_in_xrp_5m",
"dex_volume_in_usd_5m",
# sentiment balance v2 metrics
Copy link
Contributor

Choose a reason for hiding this comment

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

seems forgot to add sentiment_volume_consumed_5m

},
{
"human_readable_name": "Sentiment Volume Consumed Daily 4chan v2",
"name": "weighted_sentiment_4chan_v2_1d",
Copy link
Member

Choose a reason for hiding this comment

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

it would be better to always have the _v2 as a prefix, so we'll have:

  • sentiment_weighted_4chan_1d (old)
  • sentiment_weighted_4chan_1d_v2
    so, if you do a text search for sentiment_weighted_4chan_1d you'll be able to find both the old and the new metric, i.e. not infixing the version between some of the other arguments.

@volynvlad
Copy link
Member Author

Close and open new PR #4260

@volynvlad volynvlad closed this May 15, 2024
@IvanIvanoff IvanIvanoff deleted the add-sentiment-bal-vc-v2-metrics branch June 19, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants