Class: DatadogAPIClient::V2::ObservabilityPipelineHttpClientSource

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_strategyObject

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_keyObject

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

#decodingObject

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_keyObject

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

#idObject

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_keyObject

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_secsObject

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_secsObject

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

#tlsObject

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_keyObject

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

#typeObject

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_keyObject

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