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

[Azure][Storage_account] Enable TSDB #8064

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

ritalwar
Copy link
Contributor

@ritalwar ritalwar commented Oct 3, 2023

  • Enhancement

Proposed commit message

Enable time series data streams for the storage_account metrics dataset. This dramatically reduces storage for metrics and is expected to progressively improve query performance. For more details, see https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html.

The changes have been validated using the TSDB migration test kit.

Checklist

Screenshots

Refer #7215

@ritalwar ritalwar requested a review from a team as a code owner October 3, 2023 06:39
@elasticmachine
Copy link

elasticmachine commented Oct 3, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-03T06:39:17.168+0000

  • Duration: 18 min 30 sec

Test stats 🧪

Test Results
Failed 0
Passed 34
Skipped 0
Total 34

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (4/4) 💚
Files 100.0% (4/4) 💚
Classes 100.0% (4/4) 💚
Methods 75.758% (25/33) 👍
Lines 100.0% (32/32) 💚
Conditionals 100.0% (0/0) 💚

@lalit-satapathy
Copy link
Collaborator

Hi @zmoog, @ritalwar,

Do you see the storage_account data stream any impact from the Azure metrics grouping issues (example this) currently being worked on. or this one is not impacted by those changes?

@zmoog
Copy link
Contributor

zmoog commented Oct 16, 2023

@lalit-satapathy, I guess the grouping / time grain problems can happen or not, depending on the metricset configuration.

If the migration kit didn't report any data loss, this probably means the storage account metrics config is not triggering the problem.

However, it's worth double-checking this metricset more in the context of the changes happening with #7621.

Thanks for bringing this up!

@ritalwar
Copy link
Contributor Author

ritalwar commented Oct 17, 2023

I conducted testing with the TSDB migration kit and confirmed that there was no data loss. Furthermore, I reviewed the metricbeat code and found that grouping for the storage account is already occurring using allowed dimensions, so there should be no impact.

In fact, for Azure storage accounts, we are also performing grouping based on the Timegrain. Please take a look.

Copy link
Collaborator

@lalit-satapathy lalit-satapathy left a comment

Choose a reason for hiding this comment

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

LGTM as this is not impacted by Azure metric grouping issue.

@ritalwar ritalwar merged commit 4afdf73 into elastic:main Oct 19, 2023
4 checks passed
@elasticmachine
Copy link

Package azure_metrics - 1.2.0 containing this change is available at https://epr.elastic.co/search?package=azure_metrics

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.

Azure TSDB Enablement: storage_account datastream
5 participants