Skip to content

Azure monitor shows undefined for dimension names #4493

@srnagar

Description

@srnagar

Originally reported by pavansinguluri in this issue - Azure/azure-sdk-for-java#43827

Moving the original issue to the right repository.

I have configured alerts for my Spring boot application with spring boot metrics, alerts work fine but the values on azure monitor preview shows undefined. Please check attached screen shots.

Exception or Stack Trace
No exceptions produced

To Reproduce

Code Snippet
Add the code snippet that causes the issue.

Expected behavior
Preview should show dimension names instead of undefined.
Screenshots

Image Image

Setup (please complete the following information):

  • OS: [e.g. iOS]
  • IDE: [e.g. IntelliJ]
  • Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
    com.azure.spring:5.19.0
    com.microsoft.azure:applicationinsights-runtime-attach:3.6.2
  • Java version: [21]
  • App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
  • Frameworks: [Springboot:3.4.1]

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

  • verbose dependency tree (mvn dependency:tree -Dverbose)
  • exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions