thousandeyes-sdk-python/thousandeyes-sdk-streaming/docs/Stream.md
Miguel Pragosa e4068d6142
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#119)
Co-authored-by: API Team <api-team@thousandeyes.com>
2025-12-02 11:32:03 +00:00

2.9 KiB

Stream

Properties

Name Type Description Notes
custom_headers Dict[str, str] Custom headers. [optional]
stream_endpoint_url str The URL ThousandEyes sends data stream to. For a URL to be valid, it needs to: - Be syntactically correct. - Be reachable. - Use the HTTPS protocol. - When using the `grpc` endpointType, streamEndpointUrl cannot contain paths: - Valid . `grpc` - `https://example.com` - Invalid . `grpc` - `https://example.com/collector`. - Valid . `http` - `https://example.com/collector`. - When using the `http` endpointType, the operation must match the exact final full URL (including the path if there is one) to which the data will be sent. Examples below: - `https://api.honeycomb.io:443/v1/metrics` - `https://ingest.eu0.signalfx.com/v2/datapoint/otlp` [optional]
tag_match **List[TagMatch]** A collection of tags that determine what tests are included in the data stream. These tag values are also included as attributes in the data stream metrics. Tags are invalid if the tag key includes characters that are not allowed by the OpenTelemetry naming recommendations for attributes. [optional]
test_match **List[TestMatch]** A collection of tests to be included in the data stream. [optional]
enabled bool Flag to enable or disable the stream integration. [optional]
filters Filters [optional]
exporter_config ExporterConfig [optional]
endpoint_agent_label **List[EndpointAgentLabel]** A collection of Endpoint Agent label IDs that determines what local network data is included in the data stream. [optional]
type StreamType [optional]
signal Signal [optional]
endpoint_type EndpointType [optional]
data_model_version DataModelVersion [optional]

Example

from thousandeyes_sdk.streaming.models.stream import Stream

# TODO update the JSON string below
json = "{}"
# create an instance of Stream from a JSON string
stream_instance = Stream.from_json(json)
# print the JSON string representation of the object
print(Stream.to_json())

# convert the object into a dict
stream_dict = stream_instance.to_dict()
# create an instance of Stream from a dict
stream_from_dict = Stream.from_dict(stream_dict)

[Back to Model list] [Back to API list] [Back to README]