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

[receiver/azuremonitor] Error with microsoft.insights/components #29861

Closed
danelson opened this issue Dec 13, 2023 · 3 comments
Closed

[receiver/azuremonitor] Error with microsoft.insights/components #29861

danelson opened this issue Dec 13, 2023 · 3 comments
Labels
bug Something isn't working closed as inactive needs triage New item requiring triage receiver/azuremonitor Stale

Comments

@danelson
Copy link
Contributor

danelson commented Dec 13, 2023

Component(s)

receiver/azuremonitor

What happened?

Description

When using azuremonitor I encounter the following error when including the microsoft.insights/components service (either directly or indirectly)

{
    "cost": 0,
    "timespan": "2023-12-13T17:56:50Z/2023-12-13T17:57:50Z",
    "interval": "PT1M",
    "value":
    [
        {
            "id": "/subscriptions/<redacted>/resourceGroups/<redacted>/providers/Microsoft.Insights/components/<redacted>/providers/Microsoft.Insights/metrics/availabilityResults/availabilityPercentage",
            "type": "Microsoft.Insights/metrics",
            "name":
            {
                "value": "availabilityResults/availabilityPercentage",
                "localizedValue": "Availability"
            },
            "displayDescription": "Percentage of successfully completed availability tests",
            "unit": "Percent",
            "timeseries":
            [],
            "errorMessage": "Sampling type is not found. Metric:ApplicationInsights_PROD_centralus,ApplicationInsights,availabilityResults/availabilityPercentage, SamplingType:Max.",
            "errorCode": "InvalidSamplingType"
        }
    ],
    "namespace": "Microsoft.Insights/components",
    "resourceregion": "centralus"
}

Steps to Reproduce

Direct reference

azuremonitor:
  subscription_id: <redacted>
  tenant_id: <redacted>
  client_id: <redacted>
  client_secret: <redacted>
  resource_groups:
    - <redacted>
  services:
    - microsoft.insights/components
  collection_interval: 60s
  initial_delay: 10s

Indirect reference. This results in no data for any services

azuremonitor:
  subscription_id: <redacted>
  tenant_id: <redacted>
  client_id: <redacted>
  client_secret: <redacted>
  collection_interval: 60s
  initial_delay: 10s

Expected Result

  • I would expect to not get an error.
  • If there is an error for a single service I would expect to get data for the the other services

Actual Result

  • Errors and no data

Collector version

v0.90.1

Environment information

Environment

  • Running a custom collector distribution on alpine

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@danelson danelson added bug Something isn't working needs triage New item requiring triage labels Dec 13, 2023
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

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.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

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 Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working closed as inactive needs triage New item requiring triage receiver/azuremonitor Stale
Projects
None yet
Development

No branches or pull requests

1 participant