VcsMetric enum
vcs.* metric instruments from the OpenTelemetry
semantic conventions.
- Inheritance
- Implemented types
- Available extensions
Values
- vcsChangeCount → const VcsMetric
-
The number of changes (pull requests/merge requests/changelists) in a repository, categorized by their state (e.g. open or merged).
Stability: release_candidate
const VcsMetric('vcs.change.count', SemanticInstrument.upDownCounter, '{change}') - vcsChangeDuration → const VcsMetric
-
The time duration a change (pull request/merge request/changelist) has been in a given state.
Stability: release_candidate
const VcsMetric('vcs.change.duration', SemanticInstrument.gauge, 's') - vcsChangeTimeToApproval → const VcsMetric
-
The amount of time since its creation it took a change (pull request/merge request/changelist) to get the first approval.
Stability: development
const VcsMetric('vcs.change.time_to_approval', SemanticInstrument.gauge, 's') - vcsChangeTimeToMerge → const VcsMetric
-
The amount of time since its creation it took a change (pull request/merge request/changelist) to get merged into the target(base) ref.
Stability: development
const VcsMetric('vcs.change.time_to_merge', SemanticInstrument.gauge, 's') - vcsContributorCount → const VcsMetric
-
The number of unique contributors to a repository.
Stability: release_candidate
const VcsMetric('vcs.contributor.count', SemanticInstrument.gauge, '{contributor}') - vcsRefCount → const VcsMetric
-
The number of refs of type branch or tag in a repository.
Stability: release_candidate
const VcsMetric('vcs.ref.count', SemanticInstrument.upDownCounter, '{ref}') - vcsRefLinesDelta → const VcsMetric
-
The number of lines added/removed in a ref (branch) relative to the ref from the
vcs.ref.base.nameattribute.Stability: release_candidate
const VcsMetric('vcs.ref.lines_delta', SemanticInstrument.gauge, '{line}') - vcsRefRevisionsDelta → const VcsMetric
-
The number of revisions (commits) a ref (branch) is ahead/behind the branch from the
vcs.ref.base.nameattribute.Stability: release_candidate
const VcsMetric('vcs.ref.revisions_delta', SemanticInstrument.gauge, '{revision}') - vcsRefTime → const VcsMetric
-
Time a ref (branch) created from the default branch (trunk) has existed. The
ref.typeattribute will always bebranch.Stability: release_candidate
const VcsMetric('vcs.ref.time', SemanticInstrument.gauge, 's') - vcsRepositoryCount → const VcsMetric
-
The number of repositories in an organization.
Stability: release_candidate
const VcsMetric('vcs.repository.count', SemanticInstrument.upDownCounter, '{repository}')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- instrument → SemanticInstrument
-
The OTel instrument kind the spec assigns to this metric.
final
- name → String
-
The on-wire metric name (e.g.
http.server.request.duration).final - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit → String
-
OTel unit string (UCUM-style:
sfor seconds,Byfor bytes,{request}for a counted entity,1for dimensionless).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited