Class: DatadogAPIClient::V2::ObservabilityPipelineHttpClientSource
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineHttpClientSource
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb
Overview
The http_client source scrapes logs from HTTP endpoints at regular intervals.
Supported pipeline types: logs
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#auth_strategy ⇒ Object
Optional authentication strategy for HTTP requests.
-
#custom_key ⇒ Object
Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).
-
#decoding ⇒ Object
readonly
The decoding format used to interpret incoming logs.
-
#endpoint_url_key ⇒ Object
Name of the environment variable or secret that holds the HTTP endpoint URL to scrape.
-
#id ⇒ Object
readonly
The unique identifier for this component.
-
#password_key ⇒ Object
Name of the environment variable or secret that holds the password (used when
auth_strategyisbasic). -
#scrape_interval_secs ⇒ Object
The interval (in seconds) between HTTP scrape requests.
-
#scrape_timeout_secs ⇒ Object
The timeout (in seconds) for each scrape request.
-
#tls ⇒ Object
Configuration for enabling TLS encryption between the pipeline component and external services.
-
#token_key ⇒ Object
Name of the environment variable or secret that holds the bearer token (used when
auth_strategyisbearer). -
#type ⇒ Object
readonly
The source type.
-
#username_key ⇒ Object
Name of the environment variable or secret that holds the username (used when
auth_strategyisbasic).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
62 63 64 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 62 def additional_properties @additional_properties end |
#auth_strategy ⇒ Object
Optional authentication strategy for HTTP requests.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 27 def auth_strategy @auth_strategy end |
#custom_key ⇒ Object
Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).
30 31 32 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 30 def custom_key @custom_key end |
#decoding ⇒ Object
The decoding format used to interpret incoming logs.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 33 def decoding @decoding end |
#endpoint_url_key ⇒ Object
Name of the environment variable or secret that holds the HTTP endpoint URL to scrape.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 36 def endpoint_url_key @endpoint_url_key end |
#id ⇒ Object
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the input to downstream components).
39 40 41 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 39 def id @id end |
#password_key ⇒ Object
Name of the environment variable or secret that holds the password (used when auth_strategy is basic).
42 43 44 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 42 def password_key @password_key end |
#scrape_interval_secs ⇒ Object
The interval (in seconds) between HTTP scrape requests.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 45 def scrape_interval_secs @scrape_interval_secs end |
#scrape_timeout_secs ⇒ Object
The timeout (in seconds) for each scrape request.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 48 def scrape_timeout_secs @scrape_timeout_secs end |
#tls ⇒ Object
Configuration for enabling TLS encryption between the pipeline component and external services.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 51 def tls @tls end |
#token_key ⇒ Object
Name of the environment variable or secret that holds the bearer token (used when auth_strategy is bearer).
54 55 56 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 54 def token_key @token_key end |
#type ⇒ Object
The source type. The value should always be http_client.
57 58 59 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 57 def type @type end |
#username_key ⇒ Object
Name of the environment variable or secret that holds the username (used when auth_strategy is basic).
60 61 62 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb', line 60 def username_key @username_key end |