Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?

deni
Pro

Hi,

I’m working with Synthetic monitors (Browser / JavaScript steps) and I’m trying to understand where logs generated via JavaScript APIs are actually visible.

In my JavaScript step I’m using:

  • api.info()

  • api.warn()

  • api.error()

What I tried so far

  • DQL

    • fetch dt.synthetic.events
      → Events are returned, but there is no column with the log message from api.info / warn / error.

    • fetch dt.synthetic.detailed_events
      → This returns no data at all for my monitor executions.

  • UI

Questions

  1. Where are the messages from api.info(), api.warn(), and api.error() actually stored?

  2. Are they:

    • available via DQL, and if yes – which entity/table?

    • visible only in a specific UI view?

  3. Is this behavior different for:

    • Browser monitors vs HTTP monitors?

    • Classic Synthetic vs MDA-based Synthetic?

At the moment I can trigger failures and events successfully, but I can’t find the actual log-style messages anywhere, neither in DQL nor in the UI.

Any clarification would be greatly appreciated 🙂

Thanks in advance,
Deni

Dynatrace Integration Engineer at CodeAttest
1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

Besides clickpath replay using the browser extension, I don't think I've seen those anywhere else. But definitely, this is a very good question. Maybe @HannahM knows?

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts