Skip to content

metrics version and buildDate appear to be redundant #36

@olizilla

Description

@olizilla

We are setting version and buildDate properties manually in metrics.yml. The values are extracted and saved as this.version in the Telemetry instance, but it's never used.

https://github.com/elastic-ipfs/core-lib/blob/314c1ebce6566f7b3f996b7998a38ed9b508759c/src/telemetry.js#L25-L29

They are also set to arbitrary values that do not correspond to the package.version field or the docker image build date tag

We need to identify it these are actually used for anything anywhere, or remove them, as they are a source of confusion. The word on the street is you have to update them to get your metrics to show up. There is no evidence in the codebase I can find to support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions