Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

refactoring profile handler into entrypoints #113

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

hamersaw
Copy link
Contributor

TL;DR

Currently the single binary is using this profile handler to serve. This should be explicitly started in the single binary, which also allows us to add a handler for k8s metrics.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

^^^

Tracking Issue

flyteorg/flyte#2975

Follow-up issue

NA

…luded in single binary

Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Daniel Rammer <daniel@union.ai>
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #113 (c7bf82a) into master (74a809f) will increase coverage by 1.16%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

❗ Current head c7bf82a differs from pull request most recent head 8b33064. Consider uploading reports for the commit 8b33064 to get more accurate results

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   68.50%   69.67%   +1.16%     
==========================================
  Files          31       31              
  Lines        1667     1385     -282     
==========================================
- Hits         1142      965     -177     
+ Misses        447      342     -105     
  Partials       78       78              
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 28 files with indirect coverage changes

@hamersaw hamersaw merged commit b5a958f into master Aug 23, 2023
11 checks passed
@hamersaw hamersaw deleted the feature/expose-k8s-prom-metrics branch August 23, 2023 22:42
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
* moved profutils profiling server start to entrypoint so it is not included in single binary

Signed-off-by: Daniel Rammer <daniel@union.ai>

* fixed imports

Signed-off-by: Daniel Rammer <daniel@union.ai>

---------

Signed-off-by: Daniel Rammer <daniel@union.ai>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants