Skip to content

Commit

Permalink
Add new ddev create type for metrics crawler integrations (#13411)
Browse files Browse the repository at this point in the history
* Add new ddev create type for tile-only metrics integrations.

* Rename type

* Update datadog_checks_dev/datadog_checks/dev/tooling/templates/integration/metrics_pull/{check_name}/README.md

Co-authored-by: DeForest Richards <56796055+drichards-87@users.noreply.github.com>

Co-authored-by: DeForest Richards <56796055+drichards-87@users.noreply.github.com>
  • Loading branch information
nathanmadams and drichards-87 authored Dec 7, 2022
1 parent 59d066c commit 74e7501
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions datadog_checks_dev/datadog_checks/dev/tooling/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
'jmx': JMX_LINKS,
'snmp_tile': SNMP_TILE_LINKS,
'tile': TILE_LINKS,
'metrics_pull': TILE_LINKS,
}

# If a file changes in a PR with any of these file extensions,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# CHANGELOG - {integration_name}

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Agent Check: {integration_name}

## Overview

This check monitors [{integration_name}][1].

## Setup

### Installation

{install_info}

### Configuration

1. <List of steps to configure this integration>

### Validation

<Steps to validate integration is functioning as expected>

## Data Collected

### Metrics

{integration_name} does not include any metrics.

### Service Checks

{integration_name} does not include any service checks.

### Events

{integration_name} does not include any events.

## Troubleshooting

Need help? Contact [Datadog support][3].

{integration_links}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{{
"manifest_version": "2.0.0",
"app_uuid": "{app_uuid}",
"app_id": "{integration_id}",
"display_on_public_website": false,
"tile": {{
"overview": "README.md#Overview",
"configuration": "README.md#Setup",
"support": "README.md#Support",
"changelog": "CHANGELOG.md",
"description": "",
"title": "{integration_name}",
"media": [],
"classifier_tags": [
"Category::Metrics"
]
}},
"assets": {{
"integration": {{
"auto_install": false,
"source_type_name": "{integration_name}",
"events": {{
"creates_events": false
}},
"metrics": {{
"prefix": "{check_name}.",
"check": [],
"metadata_path": "metadata.csv"
}},
"service_checks": {{
"metadata_path": "assets/service_checks.json"
}}
}},
"dashboards": {{
"{integration_id}": "assets/dashboards/{check_name}_overview.json"
}}
}},{pricing_plan}{terms}{author_info}
"oauth": {{}}
}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation,integration,short_name,curated_metric

0 comments on commit 74e7501

Please sign in to comment.