|
8 | 8 | from ..._types import SequenceNotStr |
9 | 9 | from ..browsers.browser_telemetry_categories_config_param import BrowserTelemetryCategoriesConfigParam |
10 | 10 |
|
11 | | -__all__ = ["ConnectionUpdateParams", "BrowserTelemetry", "Credential", "Proxy"] |
| 11 | +__all__ = [ |
| 12 | + "ConnectionUpdateParams", |
| 13 | + "BrowserTelemetry", |
| 14 | + "BrowserTelemetryExport", |
| 15 | + "BrowserTelemetryExportOtlp", |
| 16 | + "BrowserTelemetryExportOtlpDestination", |
| 17 | + "Credential", |
| 18 | + "Proxy", |
| 19 | +] |
12 | 20 |
|
13 | 21 |
|
14 | 22 | class ConnectionUpdateParams(TypedDict, total=False): |
@@ -72,6 +80,50 @@ class ConnectionUpdateParams(TypedDict, total=False): |
72 | 80 | """Whether to save credentials after every successful login""" |
73 | 81 |
|
74 | 82 |
|
| 83 | +class BrowserTelemetryExportOtlpDestination(TypedDict, total=False): |
| 84 | + """OTLP destination to export this session's captured telemetry to. |
| 85 | +
|
| 86 | + Provide either id or name. Requires telemetry capture to be enabled. |
| 87 | + """ |
| 88 | + |
| 89 | + id: str |
| 90 | + """OTLP destination ID""" |
| 91 | + |
| 92 | + name: str |
| 93 | + """OTLP destination name""" |
| 94 | + |
| 95 | + |
| 96 | +class BrowserTelemetryExportOtlp(TypedDict, total=False): |
| 97 | + """ |
| 98 | + Export captured telemetry over OTLP to one of the org's configured destinations. |
| 99 | + """ |
| 100 | + |
| 101 | + destination: BrowserTelemetryExportOtlpDestination |
| 102 | + """OTLP destination to export this session's captured telemetry to. |
| 103 | +
|
| 104 | + Provide either id or name. Requires telemetry capture to be enabled. |
| 105 | + """ |
| 106 | + |
| 107 | + enabled: bool |
| 108 | + """Whether to export captured telemetry over OTLP. |
| 109 | +
|
| 110 | + Setting destination implies enabled=true, so this only needs to be set |
| 111 | + explicitly to disable export (enabled=false with a destination is rejected). |
| 112 | + """ |
| 113 | + |
| 114 | + |
| 115 | +class BrowserTelemetryExport(TypedDict, total=False): |
| 116 | + """Where to export this session's captured telemetry. |
| 117 | +
|
| 118 | + Omit to capture without exporting. |
| 119 | + """ |
| 120 | + |
| 121 | + otlp: BrowserTelemetryExportOtlp |
| 122 | + """ |
| 123 | + Export captured telemetry over OTLP to one of the org's configured destinations. |
| 124 | + """ |
| 125 | + |
| 126 | + |
75 | 127 | class BrowserTelemetry(TypedDict, total=False): |
76 | 128 | """ |
77 | 129 | Browser telemetry configuration used by future browser sessions for this connection. Uses the exact create-browser configuration. Set enabled to false to disable telemetry. |
@@ -104,6 +156,12 @@ class BrowserTelemetry(TypedDict, total=False): |
104 | 156 | settings. |
105 | 157 | """ |
106 | 158 |
|
| 159 | + export: BrowserTelemetryExport |
| 160 | + """Where to export this session's captured telemetry. |
| 161 | +
|
| 162 | + Omit to capture without exporting. |
| 163 | + """ |
| 164 | + |
107 | 165 |
|
108 | 166 | class Credential(TypedDict, total=False): |
109 | 167 | """Reference to credentials for the auth connection. |
|
0 commit comments