Skip to content

Commit ae4f7f7

Browse files
committed
Add process signatures
1 parent c12d372 commit ae4f7f7

File tree

4 files changed

+44
-30
lines changed

4 files changed

+44
-30
lines changed

.codecov.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ coverage:
334334
target: 75
335335
flags:
336336
- kong
337+
KrakenD:
338+
target: 75
339+
flags:
340+
- krakend
337341
KubeVirt_API:
338342
target: 75
339343
flags:
@@ -1218,6 +1222,11 @@ flags:
12181222
paths:
12191223
- kong/datadog_checks/kong
12201224
- kong/tests
1225+
krakend:
1226+
carryforward: true
1227+
paths:
1228+
- krakend/datadog_checks/krakend
1229+
- krakend/tests
12211230
kube_apiserver_metrics:
12221231
carryforward: true
12231232
paths:

.github/workflows/test-all.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,26 @@ jobs:
20942094
minimum-base-package: ${{ inputs.minimum-base-package }}
20952095
pytest-args: ${{ inputs.pytest-args }}
20962096
secrets: inherit
2097+
ja001417:
2098+
uses: ./.github/workflows/test-target.yml
2099+
with:
2100+
job-name: KrakenD
2101+
target: krakend
2102+
platform: linux
2103+
runner: '["ubuntu-22.04"]'
2104+
repo: "${{ inputs.repo }}"
2105+
python-version: "${{ inputs.python-version }}"
2106+
standard: ${{ inputs.standard }}
2107+
latest: ${{ inputs.latest }}
2108+
agent-image: "${{ inputs.agent-image }}"
2109+
agent-image-py2: "${{ inputs.agent-image-py2 }}"
2110+
agent-image-windows: "${{ inputs.agent-image-windows }}"
2111+
agent-image-windows-py2: "${{ inputs.agent-image-windows-py2 }}"
2112+
test-py2: ${{ inputs.test-py2 }}
2113+
test-py3: ${{ inputs.test-py3 }}
2114+
minimum-base-package: ${{ inputs.minimum-base-package }}
2115+
pytest-args: ${{ inputs.pytest-args }}
2116+
secrets: inherit
20972117
j92491f1:
20982118
uses: ./.github/workflows/test-target.yml
20992119
with:

krakend/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
},
4141
"service_checks": {
4242
"metadata_path": "assets/service_checks.json"
43-
}
43+
},
44+
"process_signatures": [
45+
"krakend"
46+
]
4447
},
4548
"dashboards": {
4649
"<FILL IN dashboard short_name ex: integration name overview>": "assets/dashboards/<FILL IN>.json"

krakend/pyproject.toml

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[build-system]
2-
requires = [
3-
"hatchling>=0.13.0",
4-
]
2+
requires = ["hatchling>=0.13.0"]
53
build-backend = "hatchling.build"
64

75
[project]
@@ -10,15 +8,8 @@ description = "The KrakenD check"
108
readme = "README.md"
119
license = "BSD-3-Clause"
1210
requires-python = ">=3.12"
13-
keywords = [
14-
"datadog",
15-
"datadog agent",
16-
"datadog check",
17-
"krakend",
18-
]
19-
authors = [
20-
{ name = "Datadog", email = "[email protected]" },
21-
]
11+
keywords = ["datadog", "datadog agent", "datadog check", "krakend"]
12+
authors = [{ name = "Datadog", email = "[email protected]" }]
2213
classifiers = [
2314
"Development Status :: 5 - Production/Stable",
2415
"Intended Audience :: Developers",
@@ -28,12 +19,8 @@ classifiers = [
2819
"Programming Language :: Python :: 3.12",
2920
"Topic :: System :: Monitoring",
3021
]
31-
dependencies = [
32-
"datadog-checks-base>=37.0.0",
33-
]
34-
dynamic = [
35-
"version",
36-
]
22+
dependencies = ["datadog-checks-base>=37.0.0"]
23+
dynamic = ["version"]
3724

3825
[project.optional-dependencies]
3926
deps = []
@@ -45,16 +32,11 @@ Source = "https://github.com/DataDog/integrations-core"
4532
path = "datadog_checks/krakend/__about__.py"
4633

4734
[tool.hatch.build.targets.sdist]
48-
include = [
49-
"/datadog_checks",
50-
"/tests",
51-
"/manifest.json",
52-
]
35+
include = ["/datadog_checks", "/tests", "/manifest.json"]
5336

5437
[tool.hatch.build.targets.wheel]
55-
include = [
56-
"/datadog_checks/krakend",
57-
]
58-
dev-mode-dirs = [
59-
".",
60-
]
38+
include = ["/datadog_checks/krakend"]
39+
dev-mode-dirs = ["."]
40+
41+
[tool.ruff]
42+
extend = "../pyproject.toml"

0 commit comments

Comments
 (0)