[Feature][Plugin] Datadog Incident Management integration
@stigi 已经在做这个了。
开始于 2026年9月11日。
评估
这个 Issue 还没有评估数据。
描述
Search before asking
- I had searched in the issues and found no similar feature requirement.
Use case
As an engineering leader using DevLake for DORA metrics, I want to ingest incidents from Datadog Incident Management, so that change failure rate and time to restore service keep working after a team moves its on-call off PagerDuty and onto Datadog.
DevLake already supports PagerDuty, Opsgenie, Rootly and incident.io. Datadog is a common destination for teams consolidating monitoring, paging and incident response in one tool, and today those teams lose their incident source when they migrate. The only path left is the generic webhook plugin, which cannot carry severity history, detection timestamps or per-incident custom fields.
Description
Datadog Incident Management exposes incidents through the public API (/api/v2/incidents,
paginated). Auth is the standard Datadog pair of an API key plus an application key,
against a site-specific host (api.datadoghq.com, api.datadoghq.eu, api.us3.datadoghq.com, …),
so the connection needs an endpoint or site field like other multi-region plugins.
Proposed plugin, modeled on incidentio and rootly:
-
Connection: API key + application key + site/endpoint.
-
Scope: incident types, analogous to the incident-type scope in the incident.io plugin.
A single organization-wide scope is the fallback for orgs that do not use incident types. -
Entities: incidents → domain
issueswithtype = INCIDENTplusincidents.
Field mapping, verified against a production Datadog organization:Datadog Domain public_id(andslug, e.g.IR-22)issue_keytitletitleseverity(SEV-1…SEV-5,UNKNOWN)severity, via a configurable mappingstate(active/stable/resolved)status,original_statuscreatedcreated_datedetecteddetection timestamp, for time to detect resolvedresolution_date,lead_time_minutescustomer_impacted,customer_impact_durationimpact attributes urlurlis_testexcluded from collection, like incident.io's test/tutorial incidents -
Custom fields: Datadog incidents carry both default fields (
detection_method,
root_cause,services,teams) and org-defined single-select, multi-select and
free-text fields. The plugin would collect these verbatim into the tool layer, and the
scope config would name which field maps ontocomponentand which ontoseverity.
The same shape as the deployment-name pattern in the CircleCI scope config. This keeps
organization-specific vocabulary out of the plugin while making the fields usable for
change-failure attribution. -
No framework changes: the result feeds the existing DORA incident metrics.
Out of scope for a first PR: Datadog On-Call (schedules, pages, escalation policies),
monitors and alerts, and the Datadog DORA Metrics product.
We have mapped the fields above against our own production Datadog organization through
the API, and intend to implement the plugin in Go following the incidentio plugin layout
(models/raw, tool models with migration scripts, collector/extractor/converter tasks,
connection and scope APIs, e2e fixtures). Flagging the intent here first in case
maintainers want a different scope model or a different approach to the custom-field
mapping before we open the PR.
Related issues
- #9023 - incident.io plugin, the closest precedent for scope and field mapping
- #8877 - Rootly plugin
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要语言
- Go
- 星标
- 3.1k
- 派生
- 812
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 56
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/devlake 的其他 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 3/5 1-2 天 新手友好度 65/100
-
难度 5/5 一周以上 新手友好度 35/100
-
type/bug
难度 4/5 3-5 天 新手友好度 52/100
-
难度 5/5 一周以上 新手友好度 35/100
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 76/100
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/agent-framework-go#1179 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
infiniflow/ragflow#20223 · 1 个 reaction ·
-
bug needs triage pkg/translator/faro
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 条评论 ·