diff --git a/pkg/otel/component/info.go b/pkg/otel/component/info.go index ab167b99..b1635211 100644 --- a/pkg/otel/component/info.go +++ b/pkg/otel/component/info.go @@ -6,3 +6,15 @@ type Info struct { Version string `json:"version"` Commit string `json:"commit"` } + +func (i Info) GetName() string { + return i.Name +} + +func (i Info) GetVersion() string { + return i.Version +} + +func (i Info) GetCommit() string { + return i.Commit +}