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 Monitor : Metric Receiver(REST Client) #20776

Closed
2 tasks
rajim17 opened this issue Apr 10, 2023 · 4 comments
Closed
2 tasks

Azure Monitor : Metric Receiver(REST Client) #20776

rajim17 opened this issue Apr 10, 2023 · 4 comments
Labels

Comments

@rajim17
Copy link
Contributor

rajim17 commented Apr 10, 2023

The purpose and use-cases of the new component

This component is to collect metrics from Azure Monitor platform and parse into OTLP metric format. Azure Monitor provides OS/CPU and major resource level metrics users are interested. List of metrics supported by Azure Monitor can be found here.

Component also provides a way to configure interested metric namespaces to collect.

Example configuration for the component

receivers:
    azuremetric/5_min:
        subscription_id: <azure_subscription_1> // (mandatory) Azure subscription ID
        collection_interval:300
        timegrain: <1M> //  ( optional: default 1M ) fetch 1 min interval metrics for the past 5 mins
        metric_providers: // metric namespace of the resource providers 
            - microsoft.analysisservices/servers
            - microsoft.apimanagement/service                       
            - microsoft.cdn/profiles                                 
            - microsoft.storage/storageaccounts                     
            - microsoft.network/networksecuritygroups               
            - microsoft.network/privatednszones/virtualnetworklinks 
            - microsoft.network/routetables                         
            - microsoft.dbformysql/servers                          
            - microsoft.cache/redis                                 
            - microsoft.compute/virtualmachines                     
            - microsoft.compute/virtualmachinescalesets             
            - microsoft.streamanalytics/streamingjobs 

Telemetry data types supported

Metrics

Is this a vendor-specific component?

  • This is a vendor-specific component
  • If this is a vendor-specific component, I am proposing to contribute this as a representative of the vendor.

Sponsor (optional)

No response

Additional context

  • Azure MetricReceiver will use http client using azure-sdk/azquery module.
  • Component can dynamically query all the resources under the subscription and fetch metrics for configured metric namespaces for those resources.
  • It also groups multiple metric names and dimensions to reduce number of metric requests to Azure platform.
@rajim17 rajim17 added the needs triage New item requiring triage label Apr 10, 2023
@rajim17 rajim17 changed the title Azure Monitor : Metric Receiver(via REST Client) Azure Monitor : Metric Receiver(REST Client) Apr 10, 2023
@nslaughter
Copy link
Contributor

nslaughter commented Apr 10, 2023

Thank you for opening this, @rajim17. It sounds very similar to issue #18899 which has an open PR in #18898. Could it potentially help with your use case if you provide review on that PR and/or improve the specification in the issue?

@rajim17
Copy link
Contributor Author

rajim17 commented Apr 10, 2023

@nslaughter Thanks for pointing out. I should be able to contribute. I will review and add my comments

@atoulme atoulme added Sponsor Needed New component seeking sponsor and removed needs triage New item requiring triage labels Apr 12, 2023
@github-actions
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@github-actions github-actions bot added the Stale label Jun 12, 2023
@github-actions
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants