Skip to content

[Azure][database_account] Add dimension and metric_type metadata - #7503

Merged
tetianakravchenko merged 5 commits into
elastic:mainfrom
tetianakravchenko:azure_database_account_tsdb
Sep 11, 2023
Merged

[Azure][database_account] Add dimension and metric_type metadata#7503
tetianakravchenko merged 5 commits into
elastic:mainfrom
tetianakravchenko:azure_database_account_tsdb

Conversation

@tetianakravchenko

Copy link
Copy Markdown
Contributor

What does this PR do?

Add dimension and metric_type metadata to support TSDB.

Note: this PR is pending on #7502, where was added few more azure dimentions

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

…ream

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@tetianakravchenko
tetianakravchenko requested a review from a team as a code owner August 23, 2023 09:18
@tetianakravchenko
tetianakravchenko requested review from a user, agithomas and zmoog August 23, 2023 09:19
@elasticmachine

elasticmachine commented Aug 23, 2023

Copy link
Copy Markdown

💚 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-09-11T13:05:15.469+0000

  • Duration: 13 min 44 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

elasticmachine commented Aug 23, 2023

Copy link
Copy Markdown

🌐 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) 👎 -20.119
Lines 100.0% (32/32) 💚 11.799
Conditionals 100.0% (0/0) 💚
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@tetianakravchenko

tetianakravchenko commented Aug 29, 2023

Copy link
Copy Markdown
Contributor Author

@zmoog @gpop63 After merging in this PR - #7502, where were added Region and CommandName dimensions - I've updated the list of azure.dimensions - 43e2073
Please have a look

ignore_above: 1024
description: Region in which this host is running.
example: us-east-1
dimension: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this the region the agent is running into, or the database account region?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@zmoog It is a database account region.
Actually it could be that azure.dimensions.region is redundant:
Screenshot 2023-09-01 at 17 48 24

Initially I've noticed that it is possible to configure global distribution and assumed that region should be added:
Screenshot 2023-09-01 at 17 46 36

do you think that the region dimension should be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

FYI: region azure dimension was removed - 25520d8 (related PR)

@zmoog zmoog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

I added one clarification question only.

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
…tion

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@tetianakravchenko
tetianakravchenko merged commit 948dafa into elastic:main Sep 11, 2023
@tetianakravchenko
tetianakravchenko deleted the azure_database_account_tsdb branch September 11, 2023 13:20
@elasticmachine

Copy link
Copy Markdown

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

@andrewkroh andrewkroh added the Integration:azure_metrics Azure Resource Metrics label Jul 22, 2024
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…stic#7503)

* Add dimension and metric_type metadata to the database_account datastream

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* Update changelog.yml

* run elastic-package build; remove region dimension from the documentation

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

---------

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:azure_metrics Azure Resource Metrics

4 participants