Skip to content

Commit 926ba8e

Browse files
iliakursteveny91jhgilbert
authored
Add Quarkus integration (#19196)
* 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 <steven.yuen@datadoghq.com> * byte units * fraction unit * Apply suggestions from code review Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com> * Remove placeholder lines * Remove images * fix typo in dashboard Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com> --------- Co-authored-by: Steven Yuen <steven.yuen@datadoghq.com> Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com>
1 parent 6fa49c4 commit 926ba8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3383
-0
lines changed

.codecov.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,10 @@ coverage:
498498
target: 75
499499
flags:
500500
- pulsar
501+
Quarkus:
502+
target: 75
503+
flags:
504+
- quarkus
501505
RabbitMQ:
502506
target: 75
503507
flags:
@@ -1373,6 +1377,11 @@ flags:
13731377
paths:
13741378
- pulsar/datadog_checks/pulsar
13751379
- pulsar/tests
1380+
quarkus:
1381+
carryforward: true
1382+
paths:
1383+
- quarkus/datadog_checks/quarkus
1384+
- quarkus/tests
13761385
rabbitmq:
13771386
carryforward: true
13781387
paths:

.github/workflows/config/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ integration/proxysql:
439439
- proxysql/**/*
440440
integration/pulsar:
441441
- pulsar/**/*
442+
integration/quarkus:
443+
- quarkus/**/*
442444
integration/rabbitmq:
443445
- rabbitmq/**/*
444446
integration/ray:

.github/workflows/test-all.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2994,6 +2994,26 @@ jobs:
29942994
minimum-base-package: ${{ inputs.minimum-base-package }}
29952995
pytest-args: ${{ inputs.pytest-args }}
29962996
secrets: inherit
2997+
jcc156e5:
2998+
uses: ./.github/workflows/test-target.yml
2999+
with:
3000+
job-name: Quarkus
3001+
target: quarkus
3002+
platform: linux
3003+
runner: '["ubuntu-22.04"]'
3004+
repo: "${{ inputs.repo }}"
3005+
python-version: "${{ inputs.python-version }}"
3006+
standard: ${{ inputs.standard }}
3007+
latest: ${{ inputs.latest }}
3008+
agent-image: "${{ inputs.agent-image }}"
3009+
agent-image-py2: "${{ inputs.agent-image-py2 }}"
3010+
agent-image-windows: "${{ inputs.agent-image-windows }}"
3011+
agent-image-windows-py2: "${{ inputs.agent-image-windows-py2 }}"
3012+
test-py2: ${{ inputs.test-py2 }}
3013+
test-py3: ${{ inputs.test-py3 }}
3014+
minimum-base-package: ${{ inputs.minimum-base-package }}
3015+
pytest-args: ${{ inputs.pytest-args }}
3016+
secrets: inherit
29973017
j694032b:
29983018
uses: ./.github/workflows/test-target.yml
29993019
with:

quarkus/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CHANGELOG - Quarkus
2+
3+
<!-- towncrier release notes start -->
4+

quarkus/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Agent Check: Quarkus
2+
3+
## Overview
4+
5+
This check monitors [Quarkus][1] through the Datadog Agent.
6+
7+
## Setup
8+
9+
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.
10+
11+
### Installation
12+
13+
The Quarkus check is included in the [Datadog Agent][2] package.
14+
No additional installation is needed on your server.
15+
16+
### Configuration
17+
18+
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.
19+
20+
2. [Restart the Agent][5].
21+
22+
### Validation
23+
24+
[Run the Agent's status subcommand][6] and look for `quarkus` under the Checks section.
25+
26+
## Data Collected
27+
28+
### Metrics
29+
30+
See [metadata.csv][7] for a list of metrics provided by this integration.
31+
32+
### Events
33+
34+
The Quarkus integration does not include any events.
35+
36+
### Service Checks
37+
38+
The Quarkus integration does not include any service checks.
39+
40+
See [service_checks.json][8] for a list of service checks provided by this integration.
41+
42+
## Troubleshooting
43+
44+
Need help? Contact [Datadog support][9].
45+
46+
47+
[1]: **LINK_TO_INTEGRATION_SITE**
48+
[2]: https://app.datadoghq.com/account/settings/agent/latest
49+
[3]: https://docs.datadoghq.com/agent/kubernetes/integrations/
50+
[4]: https://github.com/DataDog/integrations-core/blob/master/quarkus/datadog_checks/quarkus/data/conf.yaml.example
51+
[5]: https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent
52+
[6]: https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information
53+
[7]: https://github.com/DataDog/integrations-core/blob/master/quarkus/metadata.csv
54+
[8]: https://github.com/DataDog/integrations-core/blob/master/quarkus/assets/service_checks.json
55+
[9]: https://docs.datadoghq.com/help/
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Quarkus
2+
files:
3+
- name: quarkus.yaml
4+
options:
5+
- template: init_config
6+
options:
7+
- template: init_config/default
8+
- template: instances
9+
options:
10+
- template: instances/openmetrics
11+
overrides:
12+
openmetrics_endpoint.value.example: http://localhost:8080/q/metrics
13+
openmetrics_endpoint.description: |
14+
Set this to the endpoint that Quarkus's Micrometer Prometheus MeterRegistry extension exposes.

0 commit comments

Comments
 (0)