cubos icon indicating copy to clipboard operation
cubos copied to clipboard

Implement metrics

Open roby2014 opened this issue 1 year ago • 3 comments

Blocked by #1154 We need to implement logging to file.

Description

Check the sample for usage

Checklist

  • [X] Self-review changes.
  • [X] Evaluate impact on the documentation.
  • [x] Ensure test coverage.
  • [X] Write new samples.
  • [x] Add entry to the changelog's unreleased section.

roby2014 avatar May 01 '24 21:05 roby2014

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-1153/ on branch gh-pages at 2024-06-12 18:11 UTC

github-actions[bot] avatar May 01 '24 21:05 github-actions[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.70%. Comparing base (da70041) to head (1a4000a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1153      +/-   ##
==========================================
+ Coverage   40.48%   40.70%   +0.22%     
==========================================
  Files         352      354       +2     
  Lines       26173    26272      +99     
==========================================
+ Hits        10596    10695      +99     
  Misses      15577    15577              

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

codecov[bot] avatar May 01 '24 21:05 codecov[bot]

Since this PR is still blocked on the other one, I'm marking it as a draft. Does it really depend on the other PR though? They seem mostly unrelated.

RiscadoA avatar May 19 '24 07:05 RiscadoA

It does not depend anymore yeah, you're right.

roby2014 avatar May 22 '24 19:05 roby2014

Eh no idea why static analysis is failing

roby2014 avatar Jun 03 '24 20:06 roby2014

Eh no idea why static analysis is failing

It's an error in the action. It's trying to dismiss a review which no longer exists and crashes. We can safely ignore it. TL;DR: not a problem in your code. @joaomanita @diogomsmiranda pls review when you have the chance.

RiscadoA avatar Jun 04 '24 15:06 RiscadoA

I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?

diogomsmiranda avatar Jun 04 '24 15:06 diogomsmiranda

I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?

Agree, we should avoid this, could you improve it @roby2014?

RiscadoA avatar Jun 04 '24 17:06 RiscadoA

I would rather have the metrics to be explicitly generated with different names and contexts. But if @RiscadoA is ok with a sample like this It's not a deal breaker for me either.

diogomsmiranda avatar Jun 08 '24 16:06 diogomsmiranda

I would rather have the metrics to be explicitly generated with different names and contexts. But if @RiscadoA is ok with a sample like this It's not a deal breaker for me either.

Can you give me an example? What should I sample?

roby2014 avatar Jun 08 '24 19:06 roby2014

I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?

@roby2014 thank you for addressing this! LGTM

diogomsmiranda avatar Jun 09 '24 08:06 diogomsmiranda

You can ignore the failing lint check btw, feel free to just press merge

RiscadoA avatar Jun 15 '24 09:06 RiscadoA