opensearch-project / opensearch-metrics

OpenSearch Metrics
https://metrics.opensearch.org
Apache License 2.0
2 stars 4 forks source link

Update release metrics to include the component level release issue and owner details #63

Closed prudhvigodithi closed 1 month ago

prudhvigodithi commented 1 month ago

Description

Update release metrics to include the component level release issue and owner details. Sample source document

"_source": {
    "release_notes": true,
    "version_increment": true,
    "release_issue": "https://github.com/opensearch-project/notifications/issues/782",
    "autocut_issues_open": 0,
    "repository": "notifications",
    "release_state": "closed",
    "version": "2.12.0",
    "pulls_open": 0,
    "current_date": "2024-08-20T18:59:43.223873761",
    "release_branch": true,
    "issues_closed": 9,
    "pulls_closed": 10,
    "id": "4bf8c249-9455-3706-9704-fe71adfe5e34",
    "issues_open": 0,
    "release_version": "2.12.0",
    "release_owners": [
      "praveensameneni",
      "sbcd90"
    ]
  },
Screenshot 2024-08-20 at 12 18 10 PM

Issues Resolved

Part of https://github.com/opensearch-project/opensearch-metrics/issues/61 and https://github.com/opensearch-project/opensearch-metrics/issues/51

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 77.92208% with 17 lines in your changes missing coverage. Please review.

Project coverage is 76.70%. Comparing base (e359325) to head (dfa017c). Report is 1 commits behind head on main.

Files Patch % Lines
.../opensearchmetrics/metrics/MetricsCalculation.java 0.00% 12 Missing :warning:
...nsearchmetrics/metrics/release/ReleaseMetrics.java 0.00% 4 Missing :warning:
...va/org/opensearchmetrics/dagger/MetricsModule.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #63 +/- ## ============================================ - Coverage 76.77% 76.70% -0.07% - Complexity 179 190 +11 ============================================ Files 52 53 +1 Lines 1128 1189 +61 Branches 48 49 +1 ============================================ + Hits 866 912 +46 - Misses 239 254 +15 Partials 23 23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.