Skip to content

Commit

Permalink
Add Quarkus integration (#19196)
Browse files Browse the repository at this point in the history
* Add Quarkus integration

* fix changelog and add ci

* sync config

* point to dashboard file

* Implementation and metadata

* caddy-based e2e setup

* classifiers and description

* dashboard

* monitor

* Service check

* add license header

* add openmetrics limit

* fix labeler

* add metric to enable the tile

* remove saved views for now

* dashboard feedback

* Add new ootb metrics

* process signature

* Working e2e test with quarkus

* more reliable metric to auto-enable tile

* add missing license header

* remove useless metric

* Update quarkus/metadata.csv

Co-authored-by: Steven Yuen <[email protected]>

* byte units

* fraction unit

* Apply suggestions from code review

Co-authored-by: Jen Gilbert <[email protected]>

* Remove placeholder lines

* Remove images

* fix typo in dashboard

Co-authored-by: Jen Gilbert <[email protected]>

---------

Co-authored-by: Steven Yuen <[email protected]>
Co-authored-by: Jen Gilbert <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 6fa49c4 commit 926ba8e
Show file tree
Hide file tree
Showing 48 changed files with 3,383 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@ coverage:
target: 75
flags:
- pulsar
Quarkus:
target: 75
flags:
- quarkus
RabbitMQ:
target: 75
flags:
Expand Down Expand Up @@ -1373,6 +1377,11 @@ flags:
paths:
- pulsar/datadog_checks/pulsar
- pulsar/tests
quarkus:
carryforward: true
paths:
- quarkus/datadog_checks/quarkus
- quarkus/tests
rabbitmq:
carryforward: true
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/config/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ integration/proxysql:
- proxysql/**/*
integration/pulsar:
- pulsar/**/*
integration/quarkus:
- quarkus/**/*
integration/rabbitmq:
- rabbitmq/**/*
integration/ray:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2994,6 +2994,26 @@ jobs:
minimum-base-package: ${{ inputs.minimum-base-package }}
pytest-args: ${{ inputs.pytest-args }}
secrets: inherit
jcc156e5:
uses: ./.github/workflows/test-target.yml
with:
job-name: Quarkus
target: quarkus
platform: linux
runner: '["ubuntu-22.04"]'
repo: "${{ inputs.repo }}"
python-version: "${{ inputs.python-version }}"
standard: ${{ inputs.standard }}
latest: ${{ inputs.latest }}
agent-image: "${{ inputs.agent-image }}"
agent-image-py2: "${{ inputs.agent-image-py2 }}"
agent-image-windows: "${{ inputs.agent-image-windows }}"
agent-image-windows-py2: "${{ inputs.agent-image-windows-py2 }}"
test-py2: ${{ inputs.test-py2 }}
test-py3: ${{ inputs.test-py3 }}
minimum-base-package: ${{ inputs.minimum-base-package }}
pytest-args: ${{ inputs.pytest-args }}
secrets: inherit
j694032b:
uses: ./.github/workflows/test-target.yml
with:
Expand Down
4 changes: 4 additions & 0 deletions quarkus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CHANGELOG - Quarkus

<!-- towncrier release notes start -->

55 changes: 55 additions & 0 deletions quarkus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Agent Check: Quarkus

## Overview

This check monitors [Quarkus][1] through the Datadog Agent.

## Setup

Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the [Autodiscovery Integration Templates][3] for guidance on applying these instructions.

### Installation

The Quarkus check is included in the [Datadog Agent][2] package.
No additional installation is needed on your server.

### Configuration

1. Edit the `quarkus.d/conf.yaml` file, in the `conf.d/` folder at the root of your Agent's configuration directory to start collecting your Quarkus performance data. See the [sample quarkus.d/conf.yaml][4] for all available configuration options.

2. [Restart the Agent][5].

### Validation

[Run the Agent's status subcommand][6] and look for `quarkus` under the Checks section.

## Data Collected

### Metrics

See [metadata.csv][7] for a list of metrics provided by this integration.

### Events

The Quarkus integration does not include any events.

### Service Checks

The Quarkus integration does not include any service checks.

See [service_checks.json][8] for a list of service checks provided by this integration.

## Troubleshooting

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


[1]: **LINK_TO_INTEGRATION_SITE**
[2]: https://app.datadoghq.com/account/settings/agent/latest
[3]: https://docs.datadoghq.com/agent/kubernetes/integrations/
[4]: https://github.com/DataDog/integrations-core/blob/master/quarkus/datadog_checks/quarkus/data/conf.yaml.example
[5]: https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent
[6]: https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information
[7]: https://github.com/DataDog/integrations-core/blob/master/quarkus/metadata.csv
[8]: https://github.com/DataDog/integrations-core/blob/master/quarkus/assets/service_checks.json
[9]: https://docs.datadoghq.com/help/
14 changes: 14 additions & 0 deletions quarkus/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Quarkus
files:
- name: quarkus.yaml
options:
- template: init_config
options:
- template: init_config/default
- template: instances
options:
- template: instances/openmetrics
overrides:
openmetrics_endpoint.value.example: http://localhost:8080/q/metrics
openmetrics_endpoint.description: |
Set this to the endpoint that Quarkus's Micrometer Prometheus MeterRegistry extension exposes.
Loading

0 comments on commit 926ba8e

Please sign in to comment.