@interopio/otel 0.0.180 → 0.0.181
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/dist/index.d.ts +0 -6
- package/insights.d.ts +23 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -142,9 +142,3 @@ declare enum SpanStatusCode {
|
|
|
142
142
|
ERROR = 2
|
|
143
143
|
}
|
|
144
144
|
export { SpanStatusCode };
|
|
145
|
-
export interface SpanStatus {
|
|
146
|
-
/** The status code of this message. */
|
|
147
|
-
code: SpanStatusCode;
|
|
148
|
-
/** A developer-facing error message. */
|
|
149
|
-
message?: string;
|
|
150
|
-
}
|
package/insights.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ import {
|
|
|
38
38
|
} from "@opentelemetry/sdk-logs";
|
|
39
39
|
import { type MetricReader, type PeriodicExportingMetricReaderOptions, type PushMetricExporter } from "@opentelemetry/sdk-metrics";
|
|
40
40
|
import { type OTLPMetricExporterOptions } from "@opentelemetry/exporter-metrics-otlp-http";
|
|
41
|
-
import { SpanStatus } from "./src";
|
|
42
41
|
|
|
43
42
|
/**
|
|
44
43
|
* @docname Insights
|
|
@@ -1682,4 +1681,27 @@ export namespace IOInsights {
|
|
|
1682
1681
|
metrics?: MetricsSettings;
|
|
1683
1682
|
logs?: LogsSettings;
|
|
1684
1683
|
}
|
|
1684
|
+
|
|
1685
|
+
export enum SpanStatusCode {
|
|
1686
|
+
/**
|
|
1687
|
+
* The default status.
|
|
1688
|
+
*/
|
|
1689
|
+
UNSET = 0,
|
|
1690
|
+
/**
|
|
1691
|
+
* The operation has been validated by an Application developer or
|
|
1692
|
+
* Operator to have completed successfully.
|
|
1693
|
+
*/
|
|
1694
|
+
OK = 1,
|
|
1695
|
+
/**
|
|
1696
|
+
* The operation contains an error.
|
|
1697
|
+
*/
|
|
1698
|
+
ERROR = 2
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
export interface SpanStatus {
|
|
1702
|
+
/** The status code of this message. */
|
|
1703
|
+
code: SpanStatusCode;
|
|
1704
|
+
/** A developer-facing error message. */
|
|
1705
|
+
message?: string;
|
|
1706
|
+
}
|
|
1685
1707
|
}
|