Skip to content

GetInstrumentationConfigurationStatus

Source: src/AWS/ApplicationSignals/GetInstrumentationConfigurationStatus.ts

Runtime binding for application-signals:GetInstrumentationConfigurationStatus, scoped to one InstrumentationConfiguration.

Returns the status history (READY/ERROR/ACTIVE/DISABLED) that instrumented SDK agents reported for the bound configuration during a time range. Provide the implementation with Effect.provide(AWS.ApplicationSignals.GetInstrumentationConfigurationStatusHttp).

// init — bind the operation to the configuration
const getStatus =
yield* AWS.ApplicationSignals.GetInstrumentationConfigurationStatus(probe);
// runtime — the configuration's identity is injected automatically
const result = yield* getStatus({ Status: "ACTIVE" });
yield* Effect.log(`${result.Events.length} ACTIVE events`);