Git Product home page Git Product logo

Comments (3)

mrm9084 avatar mrm9084 commented on July 19, 2024

@jyotijauhari we've had this setup before, it should work. My assumption is that you are loading a configuration through App Configuration that is triggering a bean to be created that isn't with your non appconfiguration setup, or you are missing a configuration. It's hard to say with the part of the stack trace you provided.

Looking at the bit you did it ends with:

Error creating bean with name 'simpleMeterRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/export/simple/SimpleMetricsExportAutoConfiguration.class]: io/opentelemetry/javaagent/instrumentation/micrometer/ai/AzureMonitorMeterRegistry

There should be an exception below the one you provided with why the simpleMeterRegistry failed to be created.

Note: if you have a property in a local config file and the same in app configuration, the one in App Configuration takes priority, which might also cause a possible issue.

from appconfiguration.

jyotijauhari avatar jyotijauhari commented on July 19, 2024

Hi @mrm9084 , I think local config might not be a problem, because when i am just using app configuration library [ implementation("com.azure.spring:spring-cloud-azure-appconfiguration-config:5.12.0") ] without this two
[ implementation("com.microsoft.azure:applicationinsights-runtime-attach:3.5.2", implementation("com.microsoft.azure:applicationinsights-core:3.5.2")]

The application is working without throwing any exception.

from appconfiguration.

mrm9084 avatar mrm9084 commented on July 19, 2024

@jyotijauhari, the existence of a new Bean or new property that doesn't exist is triggering other beans to be created, and then failed to load.

The very bottom of the stack trace should say what the reason is, if you provided it, I could be of more help. I've been unable to replicate the issue with just those dependencies.

from appconfiguration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.