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

Feature/azuremonitorreceiver/use batch api rebased #46

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cparkins
Copy link

Description

Link to tracking issue

Fixes

Testing

Documentation

cparkins and others added 3 commits October 17, 2024 12:23
… the Batch API. Currently a Proof-of-Concept that does not allow Resources to exist in different regions and does not filter based on dimensions similar to how it's being handled in the previous implementation (by Resource).

Fix errors that were not ocurring during testing

azure monitor receiver - getBatch few enhancement

Implemented automatic discovery of subscriptions

Fix concurrent multi goroutines

Add timegrain as attrivutes

retrieve twice timerange only for PT1M and always query (do not wait timegrain)

FIX timegrain PT1M get multiple time

Fix limits of 50 resources per getBatch API calls

Retreive 4 timeranges for metrics and keep only latest timestamp containing metrics values

Remove misleading warning log

fix for loop iterations for resourceIds

fix for loop iterations for resourceIds

fix - do not return when getBatch returns an error

Azure Monitor Receiver: Update the logic for when to pull batches by calculating the nearest minute and then add a check to ensure the last update was not within the time grain. In addition add more logging around erorrs received from the Batch API by casting to the Azure Response Error type and logging the full error.

Revert "Azure Monitor Receiver: Update the logic for when to pull batches by calculating the nearest minute and then add a check to ensure the last update was not within the time grain. In addition add more logging around erorrs received from the Batch API by casting to the Azure Response Error type and logging the full error."

This reverts commit e908a55.
Copy link
Member

@celian-garcia celian-garcia left a comment

Choose a reason for hiding this comment

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

you targetted main branch so I think the diff doesn' t correspond to what I expect.

I checked rapidly and you' ll have to make some renames (_ in variables are forbidden, Id -> ID, api -> API)

Copy link

github-actions bot commented Nov 6, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants