-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (67 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[project]
name = "keythread"
version = "0.1.0"
description = "Deterministic cross-tool trace correlation for DORA metrics — hash a business key into an OpenTelemetry trace ID so async webhooks from different tools land in the same trace."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "Yvette Nartey" }]
keywords = ["opentelemetry", "observability", "dora-metrics", "webhooks", "tracing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
dependencies = [
"pydantic>=2.5,<3",
"pydantic-settings>=2.1,<3",
"opentelemetry-api>=1.21,<2",
"opentelemetry-sdk>=1.21,<2",
"opentelemetry-exporter-otlp-proto-grpc>=1.21,<2",
"prometheus-client>=0.19,<1",
]
[project.optional-dependencies]
otlp-http = [
"opentelemetry-exporter-otlp-proto-http>=1.21,<2",
]
server = [
"fastapi>=0.109,<1",
"uvicorn[standard]>=0.27,<1",
"typer>=0.9,<1",
]
[project.urls]
Homepage = "https://github.com/NewerKey/keythread"
Repository = "https://github.com/NewerKey/keythread"
[project.scripts]
keythread = "keythread.cli:app"
[dependency-groups]
dev = [
"pytest>=7.4,<9",
"pytest-cov>=4.1,<7",
"httpx>=0.25",
"ruff>=0.6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/keythread"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM", "I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --strict-markers"
markers = [
"unit: fast isolated component tests",
"integration: end-to-end workflow tests",
]
[tool.coverage.run]
source = ["src"]