Skip to content

Commit

Permalink
Merge branch 'master' into metabase-assets-v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bparmar-crest authored Oct 7, 2024
2 parents 057e7b2 + a9e8077 commit 2e68bc8
Show file tree
Hide file tree
Showing 59 changed files with 567 additions and 263 deletions.
5 changes: 5 additions & 0 deletions appgate_sdp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@

<!-- towncrier release notes start -->

## 1.0.0 / 2024-10-04

***Added***:

* Initial Release ([#18465](https://github.com/DataDog/integrations-core/pull/18465))
1 change: 0 additions & 1 deletion appgate_sdp/changelog.d/18465.added

This file was deleted.

2 changes: 1 addition & 1 deletion appgate_sdp/datadog_checks/appgate_sdp/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Datadog, Inc. 2024-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
__version__ = '0.0.1'
__version__ = '1.0.0'
2 changes: 1 addition & 1 deletion cisco_sdwan/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="alert alert-info">The Cisco SD-WAN NDM integration is in public beta.</div>
<div class="alert alert-info">The Cisco SD-WAN NDM integration is in Preview.</div>

# Agent Check: Cisco SD-WAN

Expand Down
4 changes: 2 additions & 2 deletions cisco_secure_endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Configure the Datadog endpoint to forward Cisco Secure Endpoint logs to Datadog.

| Cisco Secure Endpoint Parameters | Description |
| -------------------- | ------------ |
| API Host URL | The API Host URL for Cisco Secure Endpoint Cloud is "https://api.\<region\>.apm.cisco.com". Adjust the "region" part based on the region of the Cisco Secure Endpoint server. If Cisco Secure Endpoint is hosted on VPC (Virtual Private Cloud), directly provide the API Host URL. |
| API Domain Name | The API Domain Name for Cisco Secure Endpoint Cloud is "api.\<region\>.amp.cisco.com". Adjust the "region" part based on the region of the Cisco Secure Endpoint server. If Cisco Secure Endpoint is hosted on VPC (Virtual Private Cloud), directly provide the API Domain Name. |
| Client ID | Client ID from Cisco Secure Endpoint. |
| API Key | API Key from Cisco Secure Endpoint. |
| Get Endpoint Details | Keep it "true" to collect endpoint metadata for Cisco Secure Endpoint event logs, otherwise "false". |
| Get Endpoint Details | Keep it "true" to collect endpoint metadata for Cisco Secure Endpoint event logs, otherwise "false". Default value is "true". |


## Data Collected
Expand Down
1 change: 1 addition & 0 deletions datadog_checks_base/changelog.d/18758.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added Postgres cross-org telemetry metrics.
10 changes: 10 additions & 0 deletions datadog_checks_base/datadog_checks/base/stubs/datadog_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __init__(self):
self._process_start_time = 0
self._external_tags = []
self._host_tags = "{}"
self._sent_telemetry = defaultdict(list)

def get_default_config(self):
return {'enable_metadata_collection': True, 'disable_unsafe_yaml': True}
Expand Down Expand Up @@ -84,6 +85,12 @@ def assert_external_tags_count(self, count):
count, tags_count, repr(self._external_tags)
)

def assert_telemetry(self, check_name, metric_name, metric_type, metric_value):
values = self._sent_telemetry[(check_name, metric_name, metric_type)]
assert metric_value in values, 'Expected value {} for check {}, metric {}, type {}. Found {}.'.format(
metric_value, check_name, metric_name, metric_type, values
)

def get_hostname(self):
return self._hostname

Expand Down Expand Up @@ -152,6 +159,9 @@ def obfuscate_mongodb_string(self, command):
# Passthrough stub: obfuscation implementation is in Go code.
return command

def emit_agent_telemetry(self, check_name, metric_name, metric_value, metric_type):
self._sent_telemetry[(check_name, metric_name, metric_type)].append(metric_value)


# Use the stub as a singleton
datadog_agent = DatadogAgentStub()
5 changes: 5 additions & 0 deletions kubeflow/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@

<!-- towncrier release notes start -->

## 1.0.0 / 2024-10-04

***Fixed***:

* Bump the version of datadog-checks-base to 37.0.0 ([#18617](https://github.com/DataDog/integrations-core/pull/18617))
1 change: 0 additions & 1 deletion kubeflow/changelog.d/18617.fixed

This file was deleted.

2 changes: 1 addition & 1 deletion kubeflow/datadog_checks/kubeflow/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Datadog, Inc. 2024-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
__version__ = '0.0.1'
__version__ = '1.0.0'
2 changes: 1 addition & 1 deletion kubeflow/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": "2.0.0",
"app_uuid": "0db7b333-38a1-4e09-af1b-317da2f9f413",
"app_id": "kubeflow",
"display_on_public_website": false,
"display_on_public_website": true,
"tile": {
"overview": "README.md#Overview",
"configuration": "README.md#Setup",
Expand Down
10 changes: 10 additions & 0 deletions kubevirt_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# CHANGELOG - KubeVirt API

<!-- towncrier release notes start -->

## 1.0.0 / 2024-10-04

***Added***:

* Initial Release ([#18179](https://github.com/DataDog/integrations-core/pull/18179))

***Fixed***:

* Bump the version of datadog-checks-base to 37.0.0 ([#18617](https://github.com/DataDog/integrations-core/pull/18617))
1 change: 0 additions & 1 deletion kubevirt_api/changelog.d/18179.added

This file was deleted.

1 change: 0 additions & 1 deletion kubevirt_api/changelog.d/18617.fixed

This file was deleted.

2 changes: 1 addition & 1 deletion kubevirt_api/datadog_checks/kubevirt_api/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Datadog, Inc. 2024-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
__version__ = '0.0.1'
__version__ = '1.0.0'
3 changes: 2 additions & 1 deletion kubevirt_api/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
},
"service_checks": {
"metadata_path": "assets/service_checks.json"
}
},
"process_signatures": ["virt-api"]
},
"dashboards": {
"KubeVirt Overview": "assets/dashboards/kubevirt_overview.json"
Expand Down
2 changes: 1 addition & 1 deletion kubevirt_api/metadata.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation,integration,short_name,curated_metric,sample_tags
kubevirt_api.can_connect,gauge,,,,Whether the check can connect to the KubeVirt API or not.,0,kubevirt_api,api connect,,
kubevirt_api.can_connect,gauge,,,,"Value of 1 if the agent can connect to the KubeVirt Handler, and 0 otherwise.",0,kubevirt_api,api connect,,
kubevirt_api.process.cpu_seconds.count,count,,second,,Total user and system CPU time spent in seconds.,0,kubevirt_api,cpu time total,,
kubevirt_api.process.max_fds,gauge,,file,,Maximum number of open file descriptors.,0,kubevirt_api,max fds,,
kubevirt_api.process.open_fds,gauge,,file,,Number of open file descriptors.,0,kubevirt_api,open fds,,
Expand Down
9 changes: 9 additions & 0 deletions kubevirt_controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@

<!-- towncrier release notes start -->

## 1.0.0 / 2024-10-04

***Added***:

* Initial Release ([#18186](https://github.com/DataDog/integrations-core/pull/18186))

***Fixed***:

* Bump the version of datadog-checks-base to 37.0.0 ([#18617](https://github.com/DataDog/integrations-core/pull/18617))
1 change: 0 additions & 1 deletion kubevirt_controller/changelog.d/18186.added

This file was deleted.

1 change: 0 additions & 1 deletion kubevirt_controller/changelog.d/18617.fixed

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Datadog, Inc. 2024-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
__version__ = '0.0.1'
__version__ = '1.0.0'
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ def _parse_config(self):
"namespace": self.__NAMESPACE__,
"enable_health_service_check": False,
"tls_verify": self.tls_verify,
"rename_labels": {
"namespace": "vm_namespace",
# both kubevirt_vm_* and kubevirt_vmi_* metrics share the same name and namespace labels
},
}

self.scraper_configs.append(instance)
Expand Down
3 changes: 2 additions & 1 deletion kubevirt_controller/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
},
"service_checks": {
"metadata_path": "assets/service_checks.json"
}
},
"process_signatures": ["virt-controller"]
}
},
"author": {
Expand Down
50 changes: 25 additions & 25 deletions kubevirt_controller/metadata.csv
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation,integration,short_name,curated_metric,sample_tags
kubevirt_controller.can_connect,gauge,,,,Whether the check can connect to the KubeVirt Controller or not.,0,kubevirt_controller,api connect,,
kubevirt_controller.can_connect,gauge,,,,"Value of 1 if the agent can connect to the KubeVirt Controller, and 0 otherwise.",0,kubevirt_controller,api connect,,
kubevirt_controller.virt_controller.leading_status,gauge,,,,Indication for an operating virt-controller.,0,kubevirt_controller,leading_status,,
kubevirt_controller.virt_controller.ready_status,gauge,,,,Indication for a virt-controller that is ready to take the lead.,0,kubevirt_controller,ready_status,,
kubevirt_controller.vm.error_status_last_transition_timestamp_seconds.count,count,,,,Virtual Machine last transition timestamp to error status.,0,kubevirt_controller,,,
kubevirt_controller.vm.migrating_status_last_transition_timestamp_seconds.count,count,,,,Virtual Machine last transition timestamp to migrating status.,0,kubevirt_controller,,,
kubevirt_controller.vm.non_running_status_last_transition_timestamp_seconds.count,count,,,,Virtual Machine last transition timestamp to paused/stopped status.,0,kubevirt_controller,,,
kubevirt_controller.vm.running_status_last_transition_timestamp_seconds.count,count,,,,Virtual Machine last transition timestamp to running status.,0,kubevirt_controller,,,
kubevirt_controller.vm.starting_status_last_transition_timestamp_seconds.count,count,,,,Virtual Machine last transition timestamp to starting status.,0,kubevirt_controller,,,
kubevirt_controller.vm.error_status_last_transition_timestamp_seconds.count,count,,second,,Virtual Machine last transition timestamp to error status.,0,kubevirt_controller,,,
kubevirt_controller.vm.migrating_status_last_transition_timestamp_seconds.count,count,,second,,Virtual Machine last transition timestamp to migrating status.,0,kubevirt_controller,,,
kubevirt_controller.vm.non_running_status_last_transition_timestamp_seconds.count,count,,second,,Virtual Machine last transition timestamp to paused/stopped status.,0,kubevirt_controller,,,
kubevirt_controller.vm.running_status_last_transition_timestamp_seconds.count,count,,second,,Virtual Machine last transition timestamp to running status.,0,kubevirt_controller,,,
kubevirt_controller.vm.starting_status_last_transition_timestamp_seconds.count,count,,second,,Virtual Machine last transition timestamp to starting status.,0,kubevirt_controller,,,
kubevirt_controller.vmi.migrations_in_pending_phase,gauge,,,,Number of current pending migrations.,0,kubevirt_controller,,,
kubevirt_controller.vmi.migrations_in_running_phase,gauge,,,,Number of current running migrations.,0,kubevirt_controller,,,
kubevirt_controller.vmi.migrations_in_scheduling_phase,gauge,,,,Number of current scheduling migrations.,0,kubevirt_controller,,,
kubevirt_controller.vmi.non_evictable,gauge,,,,Indication for a VirtualMachine that its eviction strategy is set to Live Migration but is not migratable.,0,kubevirt_controller,,,
kubevirt_controller.vmi.number_of_outdated,gauge,,,,Indication for the total number of VirtualMachineInstance workloads that are not running within the most up-to-date version of the virt-launcher environment.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_count,gauge,,,,"Sum of VMIs per phase and node. phase can be one of the following: [Pending, Scheduling, Scheduled, Running, Succeeded, Failed, Unknown].",0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.bucket,count,,,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.count,count,,,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.sum,count,,,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.bucket,count,,,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.count,count,,,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.sum,count,,,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.bucket,count,,,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.count,count,,,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.sum,count,,,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.adds.count,count,,,,Total number of adds handled by workqueue,0,kubevirt_controller,,,
kubevirt_controller.workqueue.depth,gauge,,,,Current depth of workqueue,0,kubevirt_controller,,,
kubevirt_controller.workqueue.longest_running_processor_seconds,gauge,,,,How many seconds has the longest running processor for workqueue been running.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.bucket,count,,,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.count,count,,,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.sum,count,,,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.bucket,count,,second,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.count,count,,second,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_creation_seconds.sum,count,,second,,Histogram of VM phase transitions duration from creation time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.bucket,count,,second,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.count,count,,second,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_from_deletion_seconds.sum,count,,second,,Histogram of VM phase transitions duration from deletion time in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.bucket,count,,second,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.count,count,,second,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.vmi.phase_transition_time_seconds.sum,count,,second,,Histogram of VM phase transitions duration between different phases in seconds.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.adds.count,count,,item,,Total number of adds handled by workqueue,0,kubevirt_controller,,,
kubevirt_controller.workqueue.depth,gauge,,item,,Current depth of workqueue,0,kubevirt_controller,,,
kubevirt_controller.workqueue.longest_running_processor_seconds,gauge,,second,,How many seconds has the longest running processor for workqueue been running.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.bucket,count,,second,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.count,count,,second,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.queue_duration_seconds.sum,count,,second,,How long an item stays in workqueue before being requested.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.retries.count,count,,,,Total number of retries handled by workqueue.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.unfinished_work_seconds,gauge,,,,How many seconds of work has done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.bucket,count,,,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.count,count,,,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.sum,count,,,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.unfinished_work_seconds,gauge,,second,,How many seconds of work has done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.bucket,count,,second,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.count,count,,second,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
kubevirt_controller.workqueue.work_duration_seconds.sum,count,,second,,How long in seconds processing an item from workqueue takes.,0,kubevirt_controller,,,
6 changes: 6 additions & 0 deletions kubevirt_handler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# CHANGELOG - KubeVirt Handler

<!-- towncrier release notes start -->

## 1.0.0 / 2024-10-04

***Added***:

* Initial Release ([#18283](https://github.com/DataDog/integrations-core/pull/18283))
1 change: 0 additions & 1 deletion kubevirt_handler/changelog.d/18283.added

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) Datadog, Inc. 2024-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
__version__ = '0.0.1'
__version__ = '1.0.0'
3 changes: 3 additions & 0 deletions kubevirt_handler/datadog_checks/kubevirt_handler/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def _parse_config(self):
"namespace": self.__NAMESPACE__,
"enable_health_service_check": False,
"tls_verify": self.tls_verify,
"rename_labels": {
"namespace": "vm_namespace",
},
}

self.scraper_configs.append(instance)
Expand Down
41 changes: 0 additions & 41 deletions kubevirt_handler/images/IMAGES_README.md

This file was deleted.

5 changes: 3 additions & 2 deletions kubevirt_handler/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@
"metrics": {
"prefix": "kubevirt_handler.",
"check": [
"kubevirt_handler.can_connect",
"kubevirt_handler.can_connect",
"kubevirt_handler.vmi.cpu_system_usage_seconds.count"
],
"metadata_path": "metadata.csv"
},
"service_checks": {
"metadata_path": "assets/service_checks.json"
}
},
"process_signatures": ["virt-handler"]
}
},
"author": {
Expand Down
Loading

0 comments on commit 2e68bc8

Please sign in to comment.