Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rbs
Instance Attribute Summary collapse
-
#content_mode ⇒ Symbol, ...
What the exported spans contain.
-
#enabled ⇒ Boolean?
Whether the destination receives traces.
-
#endpoint_url ⇒ String?
The full URL of your collector's traces endpoint, for a collector that takes traces on a path other than
/v1/traces. -
#max_content_bytes ⇒ Integer?
The most bytes of content that one exported span can contain, from 1 up to the API's maximum.
Instance Method Summary collapse
-
#initialize(content_mode: nil, enabled: nil, endpoint_url: nil, max_content_bytes: nil) ⇒ BetaTelemetryDestinationTracesParams
constructor
The settings for the traces that a telemetry destination receives, as a create or update request sets them.
- #to_hash ⇒ { content_mode: Anthropic::Models::Beta::Organization::beta_telemetry_destination_content_mode?, enabled: bool, endpoint_url: String?, max_content_bytes: Integer? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(content_mode: nil, enabled: nil, endpoint_url: nil, max_content_bytes: nil) ⇒ BetaTelemetryDestinationTracesParams
The settings for the traces that a telemetry destination receives, as a create or update request sets them. An omitted field takes its default on create and keeps its stored value on update.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb', line 51
|
Instance Attribute Details
#content_mode ⇒ Symbol, ...
What the exported spans contain. Defaults to metadata_only on create.
On update, null sets metadata_only.
14 15 16 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb', line 14 optional :content_mode, enum: -> { Anthropic::Beta::Organization::BetaTelemetryDestinationContentMode }, nil?: true |
#enabled ⇒ Boolean?
Whether the destination receives traces. Defaults to true on create. It cannot be null.
23 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb', line 23 optional :enabled, Anthropic::Internal::Type::Boolean |
#endpoint_url ⇒ String?
The full URL of your collector's traces endpoint, for a collector that takes
traces on a path other than /v1/traces. The API posts traces to it exactly as
given and appends nothing.
The same rules as for endpoint_url apply, except that any path is allowed. It
must have the same scheme, host, and port as endpoint_url. At most 2,048
characters.
On create, null is the same as leaving it out. On update, null removes it.
The API then posts traces to endpoint_url with /v1/traces appended. A change
of this URL alone keeps the registered headers.
39 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb', line 39 optional :endpoint_url, String, nil?: true |
#max_content_bytes ⇒ Integer?
The most bytes of content that one exported span can contain, from 1 up to the
API's maximum. null sets no bound, so only the API's maximum applies.
On create, leaving it out is the same as null. The error for a value above the
maximum states the maximum.
49 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb', line 49 optional :max_content_bytes, Integer, nil?: true |
Instance Method Details
#to_hash ⇒ { content_mode: Anthropic::Models::Beta::Organization::beta_telemetry_destination_content_mode?, enabled: bool, endpoint_url: String?, max_content_bytes: Integer? }
31 32 33 34 35 36 |
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rbs', line 31
def to_hash: -> {
content_mode: Anthropic::Models::Beta::Organization::beta_telemetry_destination_content_mode?,
enabled: bool,
endpoint_url: String?,
max_content_bytes: Integer?
}
|