Constant VCS_REF_LINES_DELTA
pub const VCS_REF_LINES_DELTA: &'static str;Expand description
§Description
The number of lines added/removed in a ref (branch) relative to the ref from the vcs.ref.base.name attribute.
§Notes
This metric should be reported for each vcs.line_change.type value. For example if a ref added 3 lines and removed 2 lines,
instrumentation SHOULD report two measurements: 3 and 2 (both positive numbers).
If number of lines added/removed should be calculated from the start of time, then vcs.ref.base.name SHOULD be set to an empty string
§Metadata
| Instrument: | gauge |
| Unit: | {line} |
| Status: | Development |
§Attributes
| Name | Requirement |
|---|---|
crate::attribute::VCS_CHANGE_ID | Conditionally_required: if a change is associate with the ref. |
crate::attribute::VCS_LINE_CHANGE_TYPE | Required |
crate::attribute::VCS_OWNER_NAME | Recommended |
crate::attribute::VCS_PROVIDER_NAME | Opt_in |
crate::attribute::VCS_REF_BASE_NAME | Required |
crate::attribute::VCS_REF_BASE_TYPE | Required |
crate::attribute::VCS_REF_HEAD_NAME | Required |
crate::attribute::VCS_REF_HEAD_TYPE | Required |
crate::attribute::VCS_REPOSITORY_NAME | Recommended |
crate::attribute::VCS_REPOSITORY_URL_FULL | Required |