@epilot/sdk 2.15.2 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +290 -3
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-LNQHT4WZ.js → chunk-47HX62Q6.js} +2 -2
- package/dist/{chunk-YISO22FS.cjs → chunk-7YXY2AFM.cjs} +1 -1
- package/dist/{chunk-YYWUKE4L.cjs → chunk-OGBOIHHV.cjs} +2 -2
- package/dist/{chunk-7WGJSGWE.js → chunk-U6KIZOOU.js} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-MQ6PTYCJ.cjs +7 -0
- package/dist/integration-toolkit-Y43WV22G.js +7 -0
- package/dist/{integration-toolkit-runtime-5K3AAC63.js → integration-toolkit-runtime-O4742UZV.js} +1 -1
- package/dist/{integration-toolkit-runtime-4LHEPGGC.cjs → integration-toolkit-runtime-SX6HZTRB.cjs} +2 -2
- package/dist/{integration-toolkit.d-7q19qDTD.d.cts → integration-toolkit.d-BUCHo8ZQ.d.cts} +764 -6
- package/dist/{integration-toolkit.d-7q19qDTD.d.ts → integration-toolkit.d-BUCHo8ZQ.d.ts} +764 -6
- package/docs/integration-toolkit.md +161 -0
- package/package.json +1 -1
- package/dist/integration-toolkit-2BLX4CSH.cjs +0 -7
- package/dist/integration-toolkit-OLFKCTLY.js +0 -7
|
@@ -1798,6 +1798,13 @@ declare namespace Components {
|
|
|
1798
1798
|
* evt-2025-05-01-12345-create-bp
|
|
1799
1799
|
*/
|
|
1800
1800
|
deduplication_id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1801
|
+
/**
|
|
1802
|
+
* Optional per-event trace id for cross-system tracing (unique per business operation). Overrides the request-level meta.correlation_id for THIS event. When absent, the event inherits the request-level correlation_id; when both are absent, epilot mints its own event_id and the trace is epilot-only. Orthogonal to deduplication_id (idempotency).
|
|
1803
|
+
*
|
|
1804
|
+
* example:
|
|
1805
|
+
* bp-8f3a2c-7d4e-4b1a-9c2f-1e6d5a4b3c21
|
|
1806
|
+
*/
|
|
1807
|
+
correlation_id?: string;
|
|
1801
1808
|
/**
|
|
1802
1809
|
* Resolved use case ID for the inbound event. Null when no use case matched or for events ingested before this field was introduced. Server-populated only — ignored if supplied on inbound requests.
|
|
1803
1810
|
*
|
|
@@ -1851,6 +1858,13 @@ declare namespace Components {
|
|
|
1851
1858
|
* evt-2025-05-01-12345-bp
|
|
1852
1859
|
*/
|
|
1853
1860
|
deduplication_id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1861
|
+
/**
|
|
1862
|
+
* Optional per-event ordering group. Overrides the request-level `group_id` for THIS event; when absent, the event inherits the request-level `group_id` (or the default strict per-integration ordering). Use it when a single batch carries events for unrelated business objects that may be processed in parallel. See the request-level `group_id` for semantics.
|
|
1863
|
+
*
|
|
1864
|
+
* example:
|
|
1865
|
+
* customer-42
|
|
1866
|
+
*/
|
|
1867
|
+
group_id?: string;
|
|
1854
1868
|
} | {
|
|
1855
1869
|
/**
|
|
1856
1870
|
* Event name from integration mapping (e.g., business_partner, contract_account). Required when use_case_slug is not provided.
|
|
@@ -1898,6 +1912,13 @@ declare namespace Components {
|
|
|
1898
1912
|
* evt-2025-05-01-12345-bp
|
|
1899
1913
|
*/
|
|
1900
1914
|
deduplication_id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1915
|
+
/**
|
|
1916
|
+
* Optional per-event ordering group. Overrides the request-level `group_id` for THIS event; when absent, the event inherits the request-level `group_id` (or the default strict per-integration ordering). Use it when a single batch carries events for unrelated business objects that may be processed in parallel. See the request-level `group_id` for semantics.
|
|
1917
|
+
*
|
|
1918
|
+
* example:
|
|
1919
|
+
* customer-42
|
|
1920
|
+
*/
|
|
1921
|
+
group_id?: string;
|
|
1901
1922
|
};
|
|
1902
1923
|
export interface ErpUpdatesEventsV2Request {
|
|
1903
1924
|
/**
|
|
@@ -1939,6 +1960,8 @@ declare namespace Components {
|
|
|
1939
1960
|
* objects are processed concurrently.
|
|
1940
1961
|
*
|
|
1941
1962
|
* Notes:
|
|
1963
|
+
* - Individual events may set their own `group_id`, which overrides this
|
|
1964
|
+
* request-level value for that event only.
|
|
1942
1965
|
* - Up to 20 groups per integration are processed concurrently. Using
|
|
1943
1966
|
* more distinct values than that yields no additional parallelism.
|
|
1944
1967
|
* - Omit this field if strict per-integration ordering is required.
|
|
@@ -1962,6 +1985,41 @@ declare namespace Components {
|
|
|
1962
1985
|
*/
|
|
1963
1986
|
message?: string;
|
|
1964
1987
|
}
|
|
1988
|
+
/**
|
|
1989
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
1990
|
+
*
|
|
1991
|
+
*/
|
|
1992
|
+
export interface ExternalMonitoringSpan {
|
|
1993
|
+
/**
|
|
1994
|
+
* Trace id — links this span to the epilot trace. Unique per business operation. Required.
|
|
1995
|
+
*/
|
|
1996
|
+
correlation_id?: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* Span outcome level — one of success | error | warning | info. Drives the server-assigned EXTERNAL_* code, coloring, and alerting. Required.
|
|
1999
|
+
*
|
|
2000
|
+
*/
|
|
2001
|
+
level?: string;
|
|
2002
|
+
/**
|
|
2003
|
+
* Business use case slug (e.g. "business_partner"). Resolved server-side against the integration's configured use cases to a use_case_id/use_case_type; stored as the grouping dimension. Portable — no epilot-internal UUIDs required.
|
|
2004
|
+
*
|
|
2005
|
+
*/
|
|
2006
|
+
use_case_slug?: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* External clock time the span occurred; stored as created_at.
|
|
2009
|
+
*/
|
|
2010
|
+
occurred_at?: string; // date-time
|
|
2011
|
+
/**
|
|
2012
|
+
* Human-readable line shown in the trace and event tables.
|
|
2013
|
+
*/
|
|
2014
|
+
message?: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* Free-form context (step, http_status, reason, …). The place for external-system specificity — the taxonomy code stays clean (EXTERNAL_*).
|
|
2017
|
+
*
|
|
2018
|
+
*/
|
|
2019
|
+
detail?: {
|
|
2020
|
+
[name: string]: any;
|
|
2021
|
+
} | null;
|
|
2022
|
+
}
|
|
1965
2023
|
export interface FileProxyAuth {
|
|
1966
2024
|
/**
|
|
1967
2025
|
* Authentication type
|
|
@@ -2212,11 +2270,12 @@ declare namespace Components {
|
|
|
2212
2270
|
];
|
|
2213
2271
|
response: FileProxyResponseConfig;
|
|
2214
2272
|
/**
|
|
2215
|
-
* When `true`,
|
|
2216
|
-
*
|
|
2217
|
-
*
|
|
2218
|
-
* never transit epilot's temporary S3 storage
|
|
2219
|
-
*
|
|
2273
|
+
* When `true`, this use case is served via the streaming endpoint: mapped file URLs
|
|
2274
|
+
* are built as `/stream/download`, files of any size are streamed inline over HTTP
|
|
2275
|
+
* response streaming, and buffered `/download` requests for oversize files are
|
|
2276
|
+
* 307-redirected to `/stream`. Files never transit epilot's temporary S3 storage on
|
|
2277
|
+
* the streaming path. Defaults to `false` (small files are served directly and large
|
|
2278
|
+
* files are transparently served via a temporary S3 redirect).
|
|
2220
2279
|
*
|
|
2221
2280
|
*/
|
|
2222
2281
|
prevent_indirect_serving?: boolean;
|
|
@@ -2621,6 +2680,537 @@ declare namespace Components {
|
|
|
2621
2680
|
type: "inbound";
|
|
2622
2681
|
configuration?: /* Configuration for inbound use cases (ERP to epilot) */ InboundIntegrationEventConfiguration;
|
|
2623
2682
|
}
|
|
2683
|
+
export interface IngestExternalMonitoringEventsRequest {
|
|
2684
|
+
/**
|
|
2685
|
+
* Batch of external monitoring spans (max 100 per request).
|
|
2686
|
+
*/
|
|
2687
|
+
events: [
|
|
2688
|
+
/**
|
|
2689
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2690
|
+
*
|
|
2691
|
+
*/
|
|
2692
|
+
ExternalMonitoringSpan,
|
|
2693
|
+
/**
|
|
2694
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2695
|
+
*
|
|
2696
|
+
*/
|
|
2697
|
+
ExternalMonitoringSpan?,
|
|
2698
|
+
/**
|
|
2699
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2700
|
+
*
|
|
2701
|
+
*/
|
|
2702
|
+
ExternalMonitoringSpan?,
|
|
2703
|
+
/**
|
|
2704
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2705
|
+
*
|
|
2706
|
+
*/
|
|
2707
|
+
ExternalMonitoringSpan?,
|
|
2708
|
+
/**
|
|
2709
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2710
|
+
*
|
|
2711
|
+
*/
|
|
2712
|
+
ExternalMonitoringSpan?,
|
|
2713
|
+
/**
|
|
2714
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2715
|
+
*
|
|
2716
|
+
*/
|
|
2717
|
+
ExternalMonitoringSpan?,
|
|
2718
|
+
/**
|
|
2719
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2720
|
+
*
|
|
2721
|
+
*/
|
|
2722
|
+
ExternalMonitoringSpan?,
|
|
2723
|
+
/**
|
|
2724
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2725
|
+
*
|
|
2726
|
+
*/
|
|
2727
|
+
ExternalMonitoringSpan?,
|
|
2728
|
+
/**
|
|
2729
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2730
|
+
*
|
|
2731
|
+
*/
|
|
2732
|
+
ExternalMonitoringSpan?,
|
|
2733
|
+
/**
|
|
2734
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2735
|
+
*
|
|
2736
|
+
*/
|
|
2737
|
+
ExternalMonitoringSpan?,
|
|
2738
|
+
/**
|
|
2739
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2740
|
+
*
|
|
2741
|
+
*/
|
|
2742
|
+
ExternalMonitoringSpan?,
|
|
2743
|
+
/**
|
|
2744
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2745
|
+
*
|
|
2746
|
+
*/
|
|
2747
|
+
ExternalMonitoringSpan?,
|
|
2748
|
+
/**
|
|
2749
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2750
|
+
*
|
|
2751
|
+
*/
|
|
2752
|
+
ExternalMonitoringSpan?,
|
|
2753
|
+
/**
|
|
2754
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2755
|
+
*
|
|
2756
|
+
*/
|
|
2757
|
+
ExternalMonitoringSpan?,
|
|
2758
|
+
/**
|
|
2759
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2760
|
+
*
|
|
2761
|
+
*/
|
|
2762
|
+
ExternalMonitoringSpan?,
|
|
2763
|
+
/**
|
|
2764
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2765
|
+
*
|
|
2766
|
+
*/
|
|
2767
|
+
ExternalMonitoringSpan?,
|
|
2768
|
+
/**
|
|
2769
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2770
|
+
*
|
|
2771
|
+
*/
|
|
2772
|
+
ExternalMonitoringSpan?,
|
|
2773
|
+
/**
|
|
2774
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2775
|
+
*
|
|
2776
|
+
*/
|
|
2777
|
+
ExternalMonitoringSpan?,
|
|
2778
|
+
/**
|
|
2779
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2780
|
+
*
|
|
2781
|
+
*/
|
|
2782
|
+
ExternalMonitoringSpan?,
|
|
2783
|
+
/**
|
|
2784
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2785
|
+
*
|
|
2786
|
+
*/
|
|
2787
|
+
ExternalMonitoringSpan?,
|
|
2788
|
+
/**
|
|
2789
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2790
|
+
*
|
|
2791
|
+
*/
|
|
2792
|
+
ExternalMonitoringSpan?,
|
|
2793
|
+
/**
|
|
2794
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2795
|
+
*
|
|
2796
|
+
*/
|
|
2797
|
+
ExternalMonitoringSpan?,
|
|
2798
|
+
/**
|
|
2799
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2800
|
+
*
|
|
2801
|
+
*/
|
|
2802
|
+
ExternalMonitoringSpan?,
|
|
2803
|
+
/**
|
|
2804
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2805
|
+
*
|
|
2806
|
+
*/
|
|
2807
|
+
ExternalMonitoringSpan?,
|
|
2808
|
+
/**
|
|
2809
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2810
|
+
*
|
|
2811
|
+
*/
|
|
2812
|
+
ExternalMonitoringSpan?,
|
|
2813
|
+
/**
|
|
2814
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2815
|
+
*
|
|
2816
|
+
*/
|
|
2817
|
+
ExternalMonitoringSpan?,
|
|
2818
|
+
/**
|
|
2819
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2820
|
+
*
|
|
2821
|
+
*/
|
|
2822
|
+
ExternalMonitoringSpan?,
|
|
2823
|
+
/**
|
|
2824
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2825
|
+
*
|
|
2826
|
+
*/
|
|
2827
|
+
ExternalMonitoringSpan?,
|
|
2828
|
+
/**
|
|
2829
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2830
|
+
*
|
|
2831
|
+
*/
|
|
2832
|
+
ExternalMonitoringSpan?,
|
|
2833
|
+
/**
|
|
2834
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2835
|
+
*
|
|
2836
|
+
*/
|
|
2837
|
+
ExternalMonitoringSpan?,
|
|
2838
|
+
/**
|
|
2839
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2840
|
+
*
|
|
2841
|
+
*/
|
|
2842
|
+
ExternalMonitoringSpan?,
|
|
2843
|
+
/**
|
|
2844
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2845
|
+
*
|
|
2846
|
+
*/
|
|
2847
|
+
ExternalMonitoringSpan?,
|
|
2848
|
+
/**
|
|
2849
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2850
|
+
*
|
|
2851
|
+
*/
|
|
2852
|
+
ExternalMonitoringSpan?,
|
|
2853
|
+
/**
|
|
2854
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2855
|
+
*
|
|
2856
|
+
*/
|
|
2857
|
+
ExternalMonitoringSpan?,
|
|
2858
|
+
/**
|
|
2859
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2860
|
+
*
|
|
2861
|
+
*/
|
|
2862
|
+
ExternalMonitoringSpan?,
|
|
2863
|
+
/**
|
|
2864
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2865
|
+
*
|
|
2866
|
+
*/
|
|
2867
|
+
ExternalMonitoringSpan?,
|
|
2868
|
+
/**
|
|
2869
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2870
|
+
*
|
|
2871
|
+
*/
|
|
2872
|
+
ExternalMonitoringSpan?,
|
|
2873
|
+
/**
|
|
2874
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2875
|
+
*
|
|
2876
|
+
*/
|
|
2877
|
+
ExternalMonitoringSpan?,
|
|
2878
|
+
/**
|
|
2879
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2880
|
+
*
|
|
2881
|
+
*/
|
|
2882
|
+
ExternalMonitoringSpan?,
|
|
2883
|
+
/**
|
|
2884
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2885
|
+
*
|
|
2886
|
+
*/
|
|
2887
|
+
ExternalMonitoringSpan?,
|
|
2888
|
+
/**
|
|
2889
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2890
|
+
*
|
|
2891
|
+
*/
|
|
2892
|
+
ExternalMonitoringSpan?,
|
|
2893
|
+
/**
|
|
2894
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2895
|
+
*
|
|
2896
|
+
*/
|
|
2897
|
+
ExternalMonitoringSpan?,
|
|
2898
|
+
/**
|
|
2899
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2900
|
+
*
|
|
2901
|
+
*/
|
|
2902
|
+
ExternalMonitoringSpan?,
|
|
2903
|
+
/**
|
|
2904
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2905
|
+
*
|
|
2906
|
+
*/
|
|
2907
|
+
ExternalMonitoringSpan?,
|
|
2908
|
+
/**
|
|
2909
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2910
|
+
*
|
|
2911
|
+
*/
|
|
2912
|
+
ExternalMonitoringSpan?,
|
|
2913
|
+
/**
|
|
2914
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2915
|
+
*
|
|
2916
|
+
*/
|
|
2917
|
+
ExternalMonitoringSpan?,
|
|
2918
|
+
/**
|
|
2919
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2920
|
+
*
|
|
2921
|
+
*/
|
|
2922
|
+
ExternalMonitoringSpan?,
|
|
2923
|
+
/**
|
|
2924
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2925
|
+
*
|
|
2926
|
+
*/
|
|
2927
|
+
ExternalMonitoringSpan?,
|
|
2928
|
+
/**
|
|
2929
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2930
|
+
*
|
|
2931
|
+
*/
|
|
2932
|
+
ExternalMonitoringSpan?,
|
|
2933
|
+
/**
|
|
2934
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2935
|
+
*
|
|
2936
|
+
*/
|
|
2937
|
+
ExternalMonitoringSpan?,
|
|
2938
|
+
/**
|
|
2939
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2940
|
+
*
|
|
2941
|
+
*/
|
|
2942
|
+
ExternalMonitoringSpan?,
|
|
2943
|
+
/**
|
|
2944
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2945
|
+
*
|
|
2946
|
+
*/
|
|
2947
|
+
ExternalMonitoringSpan?,
|
|
2948
|
+
/**
|
|
2949
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2950
|
+
*
|
|
2951
|
+
*/
|
|
2952
|
+
ExternalMonitoringSpan?,
|
|
2953
|
+
/**
|
|
2954
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2955
|
+
*
|
|
2956
|
+
*/
|
|
2957
|
+
ExternalMonitoringSpan?,
|
|
2958
|
+
/**
|
|
2959
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2960
|
+
*
|
|
2961
|
+
*/
|
|
2962
|
+
ExternalMonitoringSpan?,
|
|
2963
|
+
/**
|
|
2964
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2965
|
+
*
|
|
2966
|
+
*/
|
|
2967
|
+
ExternalMonitoringSpan?,
|
|
2968
|
+
/**
|
|
2969
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2970
|
+
*
|
|
2971
|
+
*/
|
|
2972
|
+
ExternalMonitoringSpan?,
|
|
2973
|
+
/**
|
|
2974
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2975
|
+
*
|
|
2976
|
+
*/
|
|
2977
|
+
ExternalMonitoringSpan?,
|
|
2978
|
+
/**
|
|
2979
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2980
|
+
*
|
|
2981
|
+
*/
|
|
2982
|
+
ExternalMonitoringSpan?,
|
|
2983
|
+
/**
|
|
2984
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2985
|
+
*
|
|
2986
|
+
*/
|
|
2987
|
+
ExternalMonitoringSpan?,
|
|
2988
|
+
/**
|
|
2989
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2990
|
+
*
|
|
2991
|
+
*/
|
|
2992
|
+
ExternalMonitoringSpan?,
|
|
2993
|
+
/**
|
|
2994
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
2995
|
+
*
|
|
2996
|
+
*/
|
|
2997
|
+
ExternalMonitoringSpan?,
|
|
2998
|
+
/**
|
|
2999
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3000
|
+
*
|
|
3001
|
+
*/
|
|
3002
|
+
ExternalMonitoringSpan?,
|
|
3003
|
+
/**
|
|
3004
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3005
|
+
*
|
|
3006
|
+
*/
|
|
3007
|
+
ExternalMonitoringSpan?,
|
|
3008
|
+
/**
|
|
3009
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3010
|
+
*
|
|
3011
|
+
*/
|
|
3012
|
+
ExternalMonitoringSpan?,
|
|
3013
|
+
/**
|
|
3014
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3015
|
+
*
|
|
3016
|
+
*/
|
|
3017
|
+
ExternalMonitoringSpan?,
|
|
3018
|
+
/**
|
|
3019
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3020
|
+
*
|
|
3021
|
+
*/
|
|
3022
|
+
ExternalMonitoringSpan?,
|
|
3023
|
+
/**
|
|
3024
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3025
|
+
*
|
|
3026
|
+
*/
|
|
3027
|
+
ExternalMonitoringSpan?,
|
|
3028
|
+
/**
|
|
3029
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3030
|
+
*
|
|
3031
|
+
*/
|
|
3032
|
+
ExternalMonitoringSpan?,
|
|
3033
|
+
/**
|
|
3034
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3035
|
+
*
|
|
3036
|
+
*/
|
|
3037
|
+
ExternalMonitoringSpan?,
|
|
3038
|
+
/**
|
|
3039
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3040
|
+
*
|
|
3041
|
+
*/
|
|
3042
|
+
ExternalMonitoringSpan?,
|
|
3043
|
+
/**
|
|
3044
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3045
|
+
*
|
|
3046
|
+
*/
|
|
3047
|
+
ExternalMonitoringSpan?,
|
|
3048
|
+
/**
|
|
3049
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3050
|
+
*
|
|
3051
|
+
*/
|
|
3052
|
+
ExternalMonitoringSpan?,
|
|
3053
|
+
/**
|
|
3054
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3055
|
+
*
|
|
3056
|
+
*/
|
|
3057
|
+
ExternalMonitoringSpan?,
|
|
3058
|
+
/**
|
|
3059
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3060
|
+
*
|
|
3061
|
+
*/
|
|
3062
|
+
ExternalMonitoringSpan?,
|
|
3063
|
+
/**
|
|
3064
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3065
|
+
*
|
|
3066
|
+
*/
|
|
3067
|
+
ExternalMonitoringSpan?,
|
|
3068
|
+
/**
|
|
3069
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3070
|
+
*
|
|
3071
|
+
*/
|
|
3072
|
+
ExternalMonitoringSpan?,
|
|
3073
|
+
/**
|
|
3074
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3075
|
+
*
|
|
3076
|
+
*/
|
|
3077
|
+
ExternalMonitoringSpan?,
|
|
3078
|
+
/**
|
|
3079
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3080
|
+
*
|
|
3081
|
+
*/
|
|
3082
|
+
ExternalMonitoringSpan?,
|
|
3083
|
+
/**
|
|
3084
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3085
|
+
*
|
|
3086
|
+
*/
|
|
3087
|
+
ExternalMonitoringSpan?,
|
|
3088
|
+
/**
|
|
3089
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3090
|
+
*
|
|
3091
|
+
*/
|
|
3092
|
+
ExternalMonitoringSpan?,
|
|
3093
|
+
/**
|
|
3094
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3095
|
+
*
|
|
3096
|
+
*/
|
|
3097
|
+
ExternalMonitoringSpan?,
|
|
3098
|
+
/**
|
|
3099
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3100
|
+
*
|
|
3101
|
+
*/
|
|
3102
|
+
ExternalMonitoringSpan?,
|
|
3103
|
+
/**
|
|
3104
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3105
|
+
*
|
|
3106
|
+
*/
|
|
3107
|
+
ExternalMonitoringSpan?,
|
|
3108
|
+
/**
|
|
3109
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3110
|
+
*
|
|
3111
|
+
*/
|
|
3112
|
+
ExternalMonitoringSpan?,
|
|
3113
|
+
/**
|
|
3114
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3115
|
+
*
|
|
3116
|
+
*/
|
|
3117
|
+
ExternalMonitoringSpan?,
|
|
3118
|
+
/**
|
|
3119
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3120
|
+
*
|
|
3121
|
+
*/
|
|
3122
|
+
ExternalMonitoringSpan?,
|
|
3123
|
+
/**
|
|
3124
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3125
|
+
*
|
|
3126
|
+
*/
|
|
3127
|
+
ExternalMonitoringSpan?,
|
|
3128
|
+
/**
|
|
3129
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3130
|
+
*
|
|
3131
|
+
*/
|
|
3132
|
+
ExternalMonitoringSpan?,
|
|
3133
|
+
/**
|
|
3134
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3135
|
+
*
|
|
3136
|
+
*/
|
|
3137
|
+
ExternalMonitoringSpan?,
|
|
3138
|
+
/**
|
|
3139
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3140
|
+
*
|
|
3141
|
+
*/
|
|
3142
|
+
ExternalMonitoringSpan?,
|
|
3143
|
+
/**
|
|
3144
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3145
|
+
*
|
|
3146
|
+
*/
|
|
3147
|
+
ExternalMonitoringSpan?,
|
|
3148
|
+
/**
|
|
3149
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3150
|
+
*
|
|
3151
|
+
*/
|
|
3152
|
+
ExternalMonitoringSpan?,
|
|
3153
|
+
/**
|
|
3154
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3155
|
+
*
|
|
3156
|
+
*/
|
|
3157
|
+
ExternalMonitoringSpan?,
|
|
3158
|
+
/**
|
|
3159
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3160
|
+
*
|
|
3161
|
+
*/
|
|
3162
|
+
ExternalMonitoringSpan?,
|
|
3163
|
+
/**
|
|
3164
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3165
|
+
*
|
|
3166
|
+
*/
|
|
3167
|
+
ExternalMonitoringSpan?,
|
|
3168
|
+
/**
|
|
3169
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3170
|
+
*
|
|
3171
|
+
*/
|
|
3172
|
+
ExternalMonitoringSpan?,
|
|
3173
|
+
/**
|
|
3174
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3175
|
+
*
|
|
3176
|
+
*/
|
|
3177
|
+
ExternalMonitoringSpan?,
|
|
3178
|
+
/**
|
|
3179
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3180
|
+
*
|
|
3181
|
+
*/
|
|
3182
|
+
ExternalMonitoringSpan?,
|
|
3183
|
+
/**
|
|
3184
|
+
* A single monitoring span produced by an external system. `correlation_id`, `level`, `use_case_slug`, `occurred_at` and `message` are all required and `level` must be one of success|error|warning|info — but these are validated PER SPAN at ingest and reported in the per-item `results[]`, so one malformed span never fails the whole batch (the fields are intentionally not marked `required`/`enum` at the schema level to preserve that partial-acceptance behavior). The client does NOT send a `code` (server-assigned from `level`), a `source` (origin is the EXTERNAL_* code prefix), or span/event ids (the external system owns its own identity and dedup).
|
|
3185
|
+
*
|
|
3186
|
+
*/
|
|
3187
|
+
ExternalMonitoringSpan?
|
|
3188
|
+
];
|
|
3189
|
+
}
|
|
3190
|
+
export interface IngestExternalMonitoringEventsResponse {
|
|
3191
|
+
/**
|
|
3192
|
+
* Number of spans accepted and republished onto the monitoring bus.
|
|
3193
|
+
*/
|
|
3194
|
+
accepted: number;
|
|
3195
|
+
/**
|
|
3196
|
+
* Number of spans rejected in validation. See `results` for reasons.
|
|
3197
|
+
*/
|
|
3198
|
+
rejected: number;
|
|
3199
|
+
/**
|
|
3200
|
+
* Per-span results; present for rejections in a mixed batch.
|
|
3201
|
+
*/
|
|
3202
|
+
results?: {
|
|
3203
|
+
/**
|
|
3204
|
+
* Zero-based index of the span in the request `events` array.
|
|
3205
|
+
*/
|
|
3206
|
+
index: number;
|
|
3207
|
+
status: "accepted" | "rejected";
|
|
3208
|
+
/**
|
|
3209
|
+
* Rejection reason (present when status is rejected).
|
|
3210
|
+
*/
|
|
3211
|
+
reason?: string;
|
|
3212
|
+
}[];
|
|
3213
|
+
}
|
|
2624
3214
|
export interface Integration {
|
|
2625
3215
|
/**
|
|
2626
3216
|
* Unique identifier for the integration
|
|
@@ -3532,6 +4122,44 @@ declare namespace Components {
|
|
|
3532
4122
|
[name: string]: any;
|
|
3533
4123
|
}[];
|
|
3534
4124
|
}
|
|
4125
|
+
export interface MonitoringTraceResponse {
|
|
4126
|
+
/**
|
|
4127
|
+
* The trace id these spans share.
|
|
4128
|
+
*/
|
|
4129
|
+
correlation_id: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* Rolled-up status across all spans (error > warning > success > info).
|
|
4132
|
+
*/
|
|
4133
|
+
status: "success" | "error" | "warning" | "info";
|
|
4134
|
+
/**
|
|
4135
|
+
* created_at of the earliest span (null when the trace is empty).
|
|
4136
|
+
*/
|
|
4137
|
+
started_at?: string | null; // date-time
|
|
4138
|
+
/**
|
|
4139
|
+
* created_at of the latest returned span (null when the trace is empty).
|
|
4140
|
+
*/
|
|
4141
|
+
ended_at?: string | null; // date-time
|
|
4142
|
+
/**
|
|
4143
|
+
* Number of spans RETURNED (== spans.length; capped).
|
|
4144
|
+
*/
|
|
4145
|
+
span_count: number;
|
|
4146
|
+
/**
|
|
4147
|
+
* True when the trace has more spans than the cap; the returned window is the earliest spans, so ended_at/status reflect only that window.
|
|
4148
|
+
*
|
|
4149
|
+
*/
|
|
4150
|
+
truncated: boolean;
|
|
4151
|
+
/**
|
|
4152
|
+
* All spans sharing the correlation_id, chronological. External-origin spans carry an EXTERNAL_* code; epilot spans carry an epilot code or empty (success).
|
|
4153
|
+
*
|
|
4154
|
+
*/
|
|
4155
|
+
spans: MonitoringEventV2[];
|
|
4156
|
+
/**
|
|
4157
|
+
* The epilot inbound event "head" (raw payload), when present.
|
|
4158
|
+
*/
|
|
4159
|
+
inbound_event?: {
|
|
4160
|
+
[name: string]: any;
|
|
4161
|
+
} | null;
|
|
4162
|
+
}
|
|
3535
4163
|
/**
|
|
3536
4164
|
* Delivery channel toggles. New channels added in svc-notification-api inherit here.
|
|
3537
4165
|
*/
|
|
@@ -6134,6 +6762,23 @@ declare namespace Paths {
|
|
|
6134
6762
|
export type $500 = Components.Responses.InternalServerError;
|
|
6135
6763
|
}
|
|
6136
6764
|
}
|
|
6765
|
+
namespace GetMonitoringTraceByCorrelation {
|
|
6766
|
+
namespace Parameters {
|
|
6767
|
+
export type CorrelationId = string;
|
|
6768
|
+
export type IntegrationId = string; // uuid
|
|
6769
|
+
}
|
|
6770
|
+
export interface PathParameters {
|
|
6771
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
6772
|
+
correlationId: Parameters.CorrelationId;
|
|
6773
|
+
}
|
|
6774
|
+
namespace Responses {
|
|
6775
|
+
export type $200 = Components.Schemas.MonitoringTraceResponse;
|
|
6776
|
+
export type $400 = Components.Responses.BadRequest;
|
|
6777
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
6778
|
+
export type $404 = Components.Responses.NotFound;
|
|
6779
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
6780
|
+
}
|
|
6781
|
+
}
|
|
6137
6782
|
namespace GetNotificationStatus {
|
|
6138
6783
|
namespace Parameters {
|
|
6139
6784
|
export type Include = "baseline_series";
|
|
@@ -6208,6 +6853,23 @@ declare namespace Paths {
|
|
|
6208
6853
|
export type $500 = Components.Responses.InternalServerError;
|
|
6209
6854
|
}
|
|
6210
6855
|
}
|
|
6856
|
+
namespace IngestExternalMonitoringEvents {
|
|
6857
|
+
namespace Parameters {
|
|
6858
|
+
export type IntegrationId = string; // uuid
|
|
6859
|
+
}
|
|
6860
|
+
export interface PathParameters {
|
|
6861
|
+
integrationId: Parameters.IntegrationId /* uuid */;
|
|
6862
|
+
}
|
|
6863
|
+
export type RequestBody = Components.Schemas.IngestExternalMonitoringEventsRequest;
|
|
6864
|
+
namespace Responses {
|
|
6865
|
+
export type $202 = Components.Schemas.IngestExternalMonitoringEventsResponse;
|
|
6866
|
+
export type $400 = Components.Responses.BadRequest;
|
|
6867
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
6868
|
+
export type $403 = Components.Responses.Forbidden;
|
|
6869
|
+
export type $404 = Components.Responses.NotFound;
|
|
6870
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
6871
|
+
}
|
|
6872
|
+
}
|
|
6211
6873
|
namespace ListIntegrations {
|
|
6212
6874
|
namespace Responses {
|
|
6213
6875
|
export interface $200 {
|
|
@@ -6438,6 +7100,7 @@ declare namespace Paths {
|
|
|
6438
7100
|
export type $200 = Components.Responses.ERPUpdatesResponse;
|
|
6439
7101
|
export type $400 = Components.Responses.BadRequest;
|
|
6440
7102
|
export type $401 = Components.Responses.Unauthorized;
|
|
7103
|
+
export type $404 = Components.Responses.NotFound;
|
|
6441
7104
|
export type $500 = Components.Responses.InternalServerError;
|
|
6442
7105
|
}
|
|
6443
7106
|
}
|
|
@@ -6447,6 +7110,7 @@ declare namespace Paths {
|
|
|
6447
7110
|
export type $200 = Components.Responses.ERPUpdatesResponse;
|
|
6448
7111
|
export type $400 = Components.Responses.BadRequest;
|
|
6449
7112
|
export type $401 = Components.Responses.Unauthorized;
|
|
7113
|
+
export type $404 = Components.Responses.NotFound;
|
|
6450
7114
|
export type $500 = Components.Responses.InternalServerError;
|
|
6451
7115
|
}
|
|
6452
7116
|
}
|
|
@@ -7376,6 +8040,49 @@ interface OperationMethods {
|
|
|
7376
8040
|
data?: any,
|
|
7377
8041
|
config?: AxiosRequestConfig
|
|
7378
8042
|
): OperationResponse<Paths.GetAssociatedMonitoringEvents.Responses.$200>
|
|
8043
|
+
/**
|
|
8044
|
+
* ingestExternalMonitoringEvents - ingestExternalMonitoringEvents
|
|
8045
|
+
*
|
|
8046
|
+
* Ingest monitoring spans produced by an EXTERNAL system (e.g. an integration
|
|
8047
|
+
* middleware), so the Integration Hub is the central monitoring point and the
|
|
8048
|
+
* cross-system event trace spans both the external system and epilot's own
|
|
8049
|
+
* processing.
|
|
8050
|
+
*
|
|
8051
|
+
* Each span is validated, assigned a server-controlled `EXTERNAL_*` taxonomy code
|
|
8052
|
+
* derived from its `level` (the client never supplies a code — this marks
|
|
8053
|
+
* provenance and prevents spoofing an epilot code), has its `use_case_slug`
|
|
8054
|
+
* resolved against the integration's configured use cases, and is republished onto
|
|
8055
|
+
* the same monitoring event bus as epilot's own spans — so external spans are
|
|
8056
|
+
* first-class to the trace view, stats, alerting and digests.
|
|
8057
|
+
*
|
|
8058
|
+
* Spans link to the epilot trace via `correlation_id` (the trace id): the middleware
|
|
8059
|
+
* must stamp the same `correlation_id` here and on the event it forwards to the
|
|
8060
|
+
* inbound endpoint. Invalid spans in a batch are reported per-item and do not fail
|
|
8061
|
+
* the whole batch.
|
|
8062
|
+
*
|
|
8063
|
+
*/
|
|
8064
|
+
'ingestExternalMonitoringEvents'(
|
|
8065
|
+
parameters?: Parameters<Paths.IngestExternalMonitoringEvents.PathParameters> | null,
|
|
8066
|
+
data?: Paths.IngestExternalMonitoringEvents.RequestBody,
|
|
8067
|
+
config?: AxiosRequestConfig
|
|
8068
|
+
): OperationResponse<Paths.IngestExternalMonitoringEvents.Responses.$202>
|
|
8069
|
+
/**
|
|
8070
|
+
* getMonitoringTraceByCorrelation - getMonitoringTraceByCorrelation
|
|
8071
|
+
*
|
|
8072
|
+
* Returns the cross-system event trace for a `correlation_id`: every monitoring
|
|
8073
|
+
* span sharing it — external spans (middleware) plus epilot's own processing spans
|
|
8074
|
+
* — ordered chronologically, with a rolled-up status and the epilot inbound event
|
|
8075
|
+
* "head" attached. This is the correlation-grouped counterpart to
|
|
8076
|
+
* `…/events/{eventId}/associated` (which groups a single epilot event's fan-out by
|
|
8077
|
+
* event_id). Origin is distinguished by the `EXTERNAL_*` code prefix on external
|
|
8078
|
+
* spans. Freshness is near-real-time (spans land as they are produced/ingested).
|
|
8079
|
+
*
|
|
8080
|
+
*/
|
|
8081
|
+
'getMonitoringTraceByCorrelation'(
|
|
8082
|
+
parameters?: Parameters<Paths.GetMonitoringTraceByCorrelation.PathParameters> | null,
|
|
8083
|
+
data?: any,
|
|
8084
|
+
config?: AxiosRequestConfig
|
|
8085
|
+
): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
|
|
7379
8086
|
/**
|
|
7380
8087
|
* listSecureProxies - List all secure proxy use cases
|
|
7381
8088
|
*
|
|
@@ -8137,6 +8844,53 @@ interface PathsDictionary {
|
|
|
8137
8844
|
config?: AxiosRequestConfig
|
|
8138
8845
|
): OperationResponse<Paths.GetAssociatedMonitoringEvents.Responses.$200>
|
|
8139
8846
|
}
|
|
8847
|
+
['/v2/integrations/{integrationId}/monitoring/external-events']: {
|
|
8848
|
+
/**
|
|
8849
|
+
* ingestExternalMonitoringEvents - ingestExternalMonitoringEvents
|
|
8850
|
+
*
|
|
8851
|
+
* Ingest monitoring spans produced by an EXTERNAL system (e.g. an integration
|
|
8852
|
+
* middleware), so the Integration Hub is the central monitoring point and the
|
|
8853
|
+
* cross-system event trace spans both the external system and epilot's own
|
|
8854
|
+
* processing.
|
|
8855
|
+
*
|
|
8856
|
+
* Each span is validated, assigned a server-controlled `EXTERNAL_*` taxonomy code
|
|
8857
|
+
* derived from its `level` (the client never supplies a code — this marks
|
|
8858
|
+
* provenance and prevents spoofing an epilot code), has its `use_case_slug`
|
|
8859
|
+
* resolved against the integration's configured use cases, and is republished onto
|
|
8860
|
+
* the same monitoring event bus as epilot's own spans — so external spans are
|
|
8861
|
+
* first-class to the trace view, stats, alerting and digests.
|
|
8862
|
+
*
|
|
8863
|
+
* Spans link to the epilot trace via `correlation_id` (the trace id): the middleware
|
|
8864
|
+
* must stamp the same `correlation_id` here and on the event it forwards to the
|
|
8865
|
+
* inbound endpoint. Invalid spans in a batch are reported per-item and do not fail
|
|
8866
|
+
* the whole batch.
|
|
8867
|
+
*
|
|
8868
|
+
*/
|
|
8869
|
+
'post'(
|
|
8870
|
+
parameters?: Parameters<Paths.IngestExternalMonitoringEvents.PathParameters> | null,
|
|
8871
|
+
data?: Paths.IngestExternalMonitoringEvents.RequestBody,
|
|
8872
|
+
config?: AxiosRequestConfig
|
|
8873
|
+
): OperationResponse<Paths.IngestExternalMonitoringEvents.Responses.$202>
|
|
8874
|
+
}
|
|
8875
|
+
['/v2/integrations/{integrationId}/monitoring/traces/{correlationId}']: {
|
|
8876
|
+
/**
|
|
8877
|
+
* getMonitoringTraceByCorrelation - getMonitoringTraceByCorrelation
|
|
8878
|
+
*
|
|
8879
|
+
* Returns the cross-system event trace for a `correlation_id`: every monitoring
|
|
8880
|
+
* span sharing it — external spans (middleware) plus epilot's own processing spans
|
|
8881
|
+
* — ordered chronologically, with a rolled-up status and the epilot inbound event
|
|
8882
|
+
* "head" attached. This is the correlation-grouped counterpart to
|
|
8883
|
+
* `…/events/{eventId}/associated` (which groups a single epilot event's fan-out by
|
|
8884
|
+
* event_id). Origin is distinguished by the `EXTERNAL_*` code prefix on external
|
|
8885
|
+
* spans. Freshness is near-real-time (spans land as they are produced/ingested).
|
|
8886
|
+
*
|
|
8887
|
+
*/
|
|
8888
|
+
'get'(
|
|
8889
|
+
parameters?: Parameters<Paths.GetMonitoringTraceByCorrelation.PathParameters> | null,
|
|
8890
|
+
data?: any,
|
|
8891
|
+
config?: AxiosRequestConfig
|
|
8892
|
+
): OperationResponse<Paths.GetMonitoringTraceByCorrelation.Responses.$200>
|
|
8893
|
+
}
|
|
8140
8894
|
['/v1/integrations/secure-proxies']: {
|
|
8141
8895
|
/**
|
|
8142
8896
|
* listSecureProxies - List all secure proxy use cases
|
|
@@ -8257,6 +9011,7 @@ type ErpEventV3 = Components.Schemas.ErpEventV3;
|
|
|
8257
9011
|
type ErpUpdatesEventsV2Request = Components.Schemas.ErpUpdatesEventsV2Request;
|
|
8258
9012
|
type ErpUpdatesEventsV3Request = Components.Schemas.ErpUpdatesEventsV3Request;
|
|
8259
9013
|
type ErrorResponseBase = Components.Schemas.ErrorResponseBase;
|
|
9014
|
+
type ExternalMonitoringSpan = Components.Schemas.ExternalMonitoringSpan;
|
|
8260
9015
|
type FileProxyAuth = Components.Schemas.FileProxyAuth;
|
|
8261
9016
|
type FileProxyParam = Components.Schemas.FileProxyParam;
|
|
8262
9017
|
type FileProxyResponseConfig = Components.Schemas.FileProxyResponseConfig;
|
|
@@ -8279,6 +9034,8 @@ type InboundIntegrationEventConfiguration = Components.Schemas.InboundIntegratio
|
|
|
8279
9034
|
type InboundMonitoringEvent = Components.Schemas.InboundMonitoringEvent;
|
|
8280
9035
|
type InboundUseCase = Components.Schemas.InboundUseCase;
|
|
8281
9036
|
type InboundUseCaseHistoryEntry = Components.Schemas.InboundUseCaseHistoryEntry;
|
|
9037
|
+
type IngestExternalMonitoringEventsRequest = Components.Schemas.IngestExternalMonitoringEventsRequest;
|
|
9038
|
+
type IngestExternalMonitoringEventsResponse = Components.Schemas.IngestExternalMonitoringEventsResponse;
|
|
8282
9039
|
type Integration = Components.Schemas.Integration;
|
|
8283
9040
|
type IntegrationAppMapping = Components.Schemas.IntegrationAppMapping;
|
|
8284
9041
|
type IntegrationConfigurationV1 = Components.Schemas.IntegrationConfigurationV1;
|
|
@@ -8310,6 +9067,7 @@ type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
|
8310
9067
|
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
8311
9068
|
type MonitoringStats = Components.Schemas.MonitoringStats;
|
|
8312
9069
|
type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
|
|
9070
|
+
type MonitoringTraceResponse = Components.Schemas.MonitoringTraceResponse;
|
|
8313
9071
|
type NotificationChannelSet = Components.Schemas.NotificationChannelSet;
|
|
8314
9072
|
type NotificationDigestConfig = Components.Schemas.NotificationDigestConfig;
|
|
8315
9073
|
type NotificationHistoryItem = Components.Schemas.NotificationHistoryItem;
|
|
@@ -8393,4 +9151,4 @@ type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
|
|
|
8393
9151
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
8394
9152
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
8395
9153
|
|
|
8396
|
-
export { type
|
|
9154
|
+
export { type GetMonitoringStatsRequest as $, type AccessLogEntry as A, type EnvironmentFieldConfig as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type ErpEvent as F, type ErpEventV3 as G, type ErpUpdatesEventsV2Request as H, type ErpUpdatesEventsV3Request as I, type ErrorResponseBase as J, type ExternalMonitoringSpan as K, type FileProxyAuth as L, type FileProxyParam as M, type FileProxyResponseConfig as N, type OperationMethods as O, Paths as P, type FileProxySecureProxyAttachment as Q, type FileProxyStep as R, type FileProxyUrlConfig as S, type FileProxyUrlParam as T, type FileProxyUrlParams as U, type FileProxyUseCase as V, type FileProxyUseCaseConfiguration as W, type FileProxyUseCaseHistoryEntry as X, type GenerateTypesPreviewResponse as Y, type GenerateTypesRequest as Z, type GenerateTypesResponse as _, Components as a, type PollOutboundMessagesResponse as a$, type GetMonitoringStatsV2Request as a0, type GetMonitoringTimeSeriesRequest as a1, type GetMonitoringTimeSeriesV2Request as a2, type InboundIntegrationEventConfiguration as a3, type InboundMonitoringEvent as a4, type InboundUseCase as a5, type InboundUseCaseHistoryEntry as a6, type IngestExternalMonitoringEventsRequest as a7, type IngestExternalMonitoringEventsResponse as a8, type Integration as a9, type MeterUniqueIdsConfig as aA, type MonitoringEventV2 as aB, type MonitoringStats as aC, type MonitoringStatsV2 as aD, type MonitoringTraceResponse as aE, type NotificationChannelSet as aF, type NotificationDigestConfig as aG, type NotificationHistoryItem as aH, type NotificationHistoryResponse as aI, type NotificationRecipient as aJ, type NotificationRule as aK, type NotificationRuleStatus as aL, type NotificationStatusResponse as aM, type OutboundConflict as aN, type OutboundDlqListResponse as aO, type OutboundDlqMessage as aP, type OutboundIntegrationEventConfiguration as aQ, type OutboundMapping as aR, type OutboundMessage as aS, type OutboundMonitoringEvent as aT, type OutboundPollStatus as aU, type OutboundStatusResponse as aV, type OutboundUseCase as aW, type OutboundUseCaseHistoryEntry as aX, type OutboundUseCaseStatus as aY, type PollDeliveryConfig as aZ, type PollOutboundMessagesRequest as a_, type IntegrationAppMapping as aa, type IntegrationConfigurationV1 as ab, type IntegrationConfigurationV2 as ac, type IntegrationEditableFields as ad, type IntegrationEntity as ae, type IntegrationEntityField as af, type IntegrationFieldV1 as ag, type IntegrationMeterReading as ah, type IntegrationNotificationConfig as ai, type IntegrationObjectV1 as aj, type IntegrationSettings as ak, type IntegrationWithUseCases as al, type ManagedCallAuth as am, type ManagedCallErrorResponse as an, type ManagedCallExecuteRequest as ao, type ManagedCallExecuteResponse as ap, type ManagedCallOperation as aq, type ManagedCallOperationConfig as ar, type ManagedCallUseCase as as, type ManagedCallUseCaseHistoryEntry as at, type MappingSimulationRequest as au, type MappingSimulationResponse as av, type MappingSimulationV2Request as aw, type MappingSimulationWarning as ax, type MeterReadingPruneScopeConfig as ay, type MeterReadingUpdate as az, type PathsDictionary as b, type PortalOrigin as b0, type PortalRefConfig as b1, type PortalRefFilter as b2, type PruneScopeConfig as b3, type QueryAccessLogsRequest as b4, type QueryEventsRequest as b5, type QueryInboundMonitoringEventsRequest as b6, type QueryMonitoringEventsV2Request as b7, type QueryOutboundMonitoringEventsRequest as b8, type RedriveOutboundDlqRequest as b9, type TimeSeriesBucketV2 as bA, type TriggerErpActionRequest as bB, type TriggerWebhookResp as bC, type TypeAnnotations as bD, type TypeDescriptor as bE, type UnblockOutboundStreamRequest as bF, type UnblockOutboundStreamResponse as bG, type UpdateFileProxyUseCaseRequest as bH, type UpdateInboundUseCaseRequest as bI, type UpdateIntegrationRequest as bJ, type UpdateManagedCallUseCaseRequest as bK, type UpdateOutboundUseCaseRequest as bL, type UpdateSecureProxyUseCaseRequest as bM, type UpdateUseCaseRequest as bN, type UpdateUseCaseRequestBase as bO, type UpsertIntegrationWithUseCasesRequest as bP, type UseCase as bQ, type UseCaseBase as bR, type UseCaseHistoryEntry as bS, type UseCaseHistoryEntryBase as bT, type UseCaseTypePreview as bU, type WebhookDeliveryConfig as bV, type WebhookStatus as bW, type RedriveOutboundDlqResponse as ba, type RedriveOutboundDlqResult as bb, type RelationConfig as bc, type RelationItemConfig as bd, type RelationRefItemConfig as be, type RelationRefValueConfig as bf, type RelationRefsConfig as bg, type RelationUniqueIdField as bh, type RepeatableFieldType as bi, type ReplayEventsRequest as bj, type RuleBaselineBucket as bk, type RuleBaselineStatus as bl, type SecureProxyRequest as bm, type SecureProxyResponse as bn, type SecureProxySummary as bo, type SecureProxyUpstreamError as bp, type SecureProxyUseCase as bq, type SecureProxyUseCaseConfiguration as br, type SecureProxyUseCaseHistoryEntry as bs, type SecureProxyWhitelist as bt, type SecureProxyWhitelistUpdate as bu, type SetIntegrationAppMappingRequest as bv, type TestNotificationRequest as bw, type TestNotificationResponse as bx, type TimeSeriesBreakdownItemV2 as by, type TimeSeriesBucket as bz, type AckOutboundMessagesRequest as c, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateFileProxyUseCaseRequest as j, type CreateInboundUseCaseRequest as k, type CreateIntegrationRequest as l, type CreateManagedCallUseCaseRequest as m, type CreateOutboundUseCaseRequest as n, type CreateSecureProxyUseCaseRequest as o, type CreateUseCaseRequest as p, type CreateUseCaseRequestBase as q, type DeliveryConfig as r, type EmbeddedInboundUseCaseRequest as s, type EmbeddedManagedCallUseCaseRequest as t, type EmbeddedOutboundUseCaseRequest as u, type EmbeddedSecureProxyUseCaseRequest as v, type EmbeddedUseCaseRequest as w, type EmbeddedUseCaseRequestBase as x, type EntityUpdate as y, type EnvVarRefConfig as z };
|