search
数据采集 采集源配置 jira 数据采集

jira 数据采集

简介

采集jira issue数据并上报到 DataFlux 中。

前置条件

配置

进入 DataKit 安装目录下的 conf.d/jira 目录,复制 jira.conf.sample 并命名为 jira.conf。示例如下:

[[inputs.jira]]
       active      = true
       host        = "https://jira.jiagouyun.com/"   # jira API服务地址
       project     = "11902"                         # 采集项目编号,若不设置则采集所有项目
       issue       = "52922"                         # 采集issue编号,若不设置则采集所有issue
       username    = "user"                          # 用户名
       password    = "password"                      # 密码
       interval    = "60s"                           # 采集间隔,默认60秒
       metricsName = "jira"                          # 指标集名
       [inputs.jira.tags]                            # 自定义标签组
               tag1 = "tag1"                         # 自定义标签1
               tag2 = "tag2"                         # 自定义标签2
               tag3 = "tag3"                         # 自定义标签3

采集数据

指标集:jira

指标 描述 类型 单位 标签
id issue编号 string - host,project_key,project_id,project_name
key issue key string - host,project_key,project_id,project_name
url issue Restful Api链接地址 string - host,project_key,project_id,project_name
type issue类型 string - host,project_key,project_id,project_name
summary issue摘要 string - host,project_key,project_id,project_name
creator issue创建者 string - host,project_key,project_id,project_name
assignee issue接收者 string - host,project_key,project_id,project_name
reporter issue报告者 string - host,project_key,project_id,project_name
priority issue优先级 string - host,project_key,project_id,project_name
status issue状态 string - host,project_key,project_id,project_name

关键事件

该数据源无关键事件数据

日志

该数据源无日志