Skip to content

Metrics not sent #102

@AndrewAtAvenza

Description

@AndrewAtAvenza

Affects: 22.06.2

If you fill in the metrics (e.g. OS, OS Version, app version, etc.) they won't be sent because it tests if the the metrics JSON object contains the entry "metrics". It should just be checking if the JSON is non-empty.

Basically:

  if (session_params.contains("metrics")) {
    data["metrics"] = configuration->metrics.dump();
  }

should be

  if (!configuration->metrics.empty()) {
    data["metrics"] = configuration->metrics.dump();
  }

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