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 Metrics] the integration fails with the "metric names configured CassandraConnectionClosures are not supported for the resource" error #5453

Closed
zmoog opened this issue Mar 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working, use only for issues Team:Cloud-Monitoring Label for the Cloud Monitoring team

Comments

@zmoog
Copy link
Contributor

zmoog commented Mar 6, 2023

I recreated the following customer issue on my test cluster and got the same error:

{
    "error.message": "the metric names configured  CassandraConnectionClosures are not supported for the resource /subscriptions/c21791dd-861f-49ce-9d7b-57ed772bb3e8/resourceGroups/my-rg/providers/Microsoft.DocumentDb/databaseAccounts/whatever/Microsoft.DocumentDb/databaseAccounts"
}

The name of the metric, "CassandraConnectionClosures" is listed in the wrong section of the metrics configuration. It should be moved to a different section that includes metric names which may or may not be available depending on the environment, with the "ignore_unsupported" setting set to true.

@zmoog zmoog added bug Something isn't working, use only for issues Team:Cloud-Monitoring Label for the Cloud Monitoring team labels Mar 6, 2023
@zmoog zmoog self-assigned this Mar 6, 2023
@zmoog zmoog changed the title [Azure Metrics] the integration fail with the "metric names configured CassandraConnectionClosures are not supported for the resource" error [Azure Metrics] the integration fails with the "metric names configured CassandraConnectionClosures are not supported for the resource" error Mar 6, 2023
@zmoog
Copy link
Contributor Author

zmoog commented Oct 11, 2023

A fix for this problem is available in the Azure Metrics integration starting from version 1.0.14.

There’s a similar fix for Metricbeat in a PR, but it’s not merged yet.

I will try to finish the PR and make it ready for review ASAP.

@zmoog
Copy link
Contributor Author

zmoog commented Oct 20, 2023

Elastic Agent

The fix is available for the Azure Metrics integration for Elastic Agent starting from version 1.0.14.

Metricbeat

The fix will also be available for Metricbeat in the following versions:

  • 8.12.0
  • 8.11.1
  • 7.17.15

@zmoog zmoog closed this as completed Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, use only for issues Team:Cloud-Monitoring Label for the Cloud Monitoring team
Projects
None yet
Development

No branches or pull requests

1 participant