@interopio/otel 0.0.198 → 0.0.200
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/insights.d.ts +3 -0
- package/package.json +1 -1
package/insights.d.ts
CHANGED
|
@@ -325,6 +325,7 @@ export namespace IOInsights {
|
|
|
325
325
|
* Controls the publishing of the metric.
|
|
326
326
|
*/
|
|
327
327
|
export interface MetricPublishingSettings {
|
|
328
|
+
samplingProbability?: number;
|
|
328
329
|
/**
|
|
329
330
|
* Controls the publishing of specific attributes.
|
|
330
331
|
*/
|
|
@@ -422,6 +423,7 @@ export namespace IOInsights {
|
|
|
422
423
|
export interface MetricDefaultFilter {
|
|
423
424
|
type?: MetricType;
|
|
424
425
|
enabled: boolean;
|
|
426
|
+
samplingProbability?: number;
|
|
425
427
|
overrideDefaultFilters?: boolean;
|
|
426
428
|
attributes?: {
|
|
427
429
|
/**
|
|
@@ -1108,6 +1110,7 @@ export namespace IOInsights {
|
|
|
1108
1110
|
}
|
|
1109
1111
|
export interface WithSpanOptions extends Omit<SpanCreationOptions, "sample"> {
|
|
1110
1112
|
defaultFilters?: SpanFilter[];
|
|
1113
|
+
structure?: "sibling" | "nested";
|
|
1111
1114
|
}
|
|
1112
1115
|
|
|
1113
1116
|
export interface SpanCreationOptions {
|