Monitoring Backend and Storefront Glue

Spryker Solution Partner Posts: 35 ✨ - Novice

Hi, is New Relic monitoring not possible for backend and storefront Glues or do I have something misconfigured?

From my code digging it looks like the monitoring functionality is tied to the event dispatcher, and seems that in \Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy::run if the application is RequestFlowAgnosticApiApplication (like the old Glue) then there's all kinds of events to subscribe to, but the RequestFlowAwareApiApplication (new Glues) workflow doesn't seem to dispatch anything anywhere.

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • SSA Sprykee Posts: 83 🪐 - Explorer

    @mikko.ropanen , I'm not sure what is the actual problem you have faced, please elaborate.

    It's true that we changed the flow and evens fired, although our monitoring functionality works with them just nice.

  • Spryker Solution Partner Posts: 35 ✨ - Novice
    edited October 2024

    The problem is that we don't get any normal transactions in New Relic from backend and storefront Glues.

    The old Glue has all kinds of neat things

    but the new Glues only send stuff to New Relic when there is an error, so this is what we have for those (and the reported error rate is always 100%):

  • Spryker Solution Partner Posts: 35 ✨ - Novice

    For the record, I am referring to "old" New Relic integration, not the new OpenTelemetry implementation here.

  • Spryker Solution Partner Posts: 16 🧑🏻‍🚀 - Cadet

    This is somewhat easy to verify with the demoshop and a trial Newrelic account.
    You add the monitoring for Glue, and can see how only the old glue sends events to Newrelic.

Welcome!

It looks like you're new here. Sign in or register to get started.