Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to use the cluster agent api and serve nozzle data #66

Merged
merged 4 commits into from Apr 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions tile/tile.yml
Expand Up @@ -161,6 +161,11 @@ forms:
label: Datadog Firehose Nozzle Config
description: Configure your Datadog Firehose Nozzle
properties:
- name: use_cluster_agent_api
type: boolean
label: Use Datadog Cluster Agent API
default: false
description: Whether or not to use the Datadog Cluster Agent API instead of the Cloud Controller API (CAPI). If enabled, requires "Serve Nozzle data" to be enabled in the Datadog Cluster Agent settings.
- name: metric_prefix
type: string
label: Metric Prefix
Expand Down Expand Up @@ -538,6 +543,12 @@ forms:
label: Cluster Agent port
default: 5005
description: Port on which the Cluster Agent can be reached by Node Agents.
- name: cluster_agent_serve_nozzle_data
configurable: true
type: boolean
label: Serve Nozzle data
default: false
description: Whether or not to serve preprocessed data for the nozzles.
- name: enable_cloud_foundry_api_apps_polling
configurable: true
type: boolean
Expand Down Expand Up @@ -867,6 +878,10 @@ packages:
enable_metadata_collection: (( .properties.enable_metadata_collection.value ))
metadata_keys_whitelist_patterns: (( .properties.metadata_keys_whitelist_patterns.parsed_strings ))
metadata_keys_blacklist_patterns: (( .properties.metadata_keys_blacklist_patterns.parsed_strings ))
dca_enabled: (( .properties.use_cluster_agent_api.value ))
dca_url: https://datadog-cluster-agent.(( ..datadog.deployment_name ))
dca_port: (( .properties.cluster_agent_enabled.enabled_option.cluster_agent_port.value ))
therve marked this conversation as resolved.
Show resolved Hide resolved
dca_token: (( .properties.cluster_agent_enabled.enabled_option.cluster_agent_token.value ))
uaa:
client: (( .properties.uaa_client.value ))
client_secret: (( .properties.uaa_secret.value ))
Expand Down Expand Up @@ -906,6 +921,7 @@ packages:
enabled: (( .properties.cluster_agent_enabled.selected_option.parsed_manifest(cluster_agent_enabled) ))
enable_cloud_foundry_api_check: (( .properties.cluster_agent_enabled.enabled_option.enable_cloud_foundry_api_check.value ))
enable_cloud_foundry_api_apps_polling: (( .properties.cluster_agent_enabled.enabled_option.enable_cloud_foundry_api_apps_polling.value ))
serve_nozzle_data: (( .properties.cluster_agent_enabled.enabled_option.cluster_agent_serve_nozzle_data.value ))
cloud_foundry_api:
api_url: https://api.(( ..cf.cloud_controller.system_domain.value ))
poll_interval: (( .properties.cluster_agent_enabled.enabled_option.cloud_foundry_api_poll_interval.value ))
Expand Down