- 
                Notifications
    
You must be signed in to change notification settings  - Fork 32
 
✨Adds metrics regarding new style dynamic services timings #6347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            GitHK
  merged 38 commits into
  ITISFoundation:master
from
GitHK:pr-osparc-add-metrics-for-start-and-stop
  
      
      
   
  Sep 18, 2024 
      
    
  
     Merged
                    Changes from 9 commits
      Commits
    
    
            Show all changes
          
          
            38 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      8bb01e9
              
                added instrumentation basis
              
              
                 3abec0b
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 3baaa63
              
                adding metrics for starting and stopping
              
              
                 e4e41e3
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 c05eab2
              
                pull user service images and output ports with metrics
              
              
                 ab1c162
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 a064f84
              
                added metrics for pulling inputs
              
              
                 cb7584d
              
                added metrics for restoring service state
              
              
                 1f58de7
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 00ff066
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 9907398
              
                using if in application
              
              
                 704c191
              
                renaming
              
              
                 361b028
              
                remove casting
              
              
                 9d37764
              
                refactor code safety
              
              
                 50d985a
              
                refactor to store rate
              
              
                 87a9bbd
              
                using rate buckets
              
              
                 71b6f07
              
                refactor bucket names and time buckets
              
              
                 1303c91
              
                rename subsystem
              
              
                 b0d6e51
              
                total duration is required not the rate
              
              
                 dee080c
              
                using same function to create namespaces
              
              
                 e8f4ea3
              
                adding metric for savign service states
              
              
                 7abd932
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 819d2c6
              
                renaming
              
              
                 de5e046
              
                refactor
              
              
                 a6f131a
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 26b258a
              
                fixed broken test
              
              
                 9a7165f
              
                fixed failing tests
              
              
                 6d25e44
              
                enabling instrumentation
              
              
                 fc9fde8
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 74e261e
              
                using epsilon to avoid issues
              
              
                 70362cf
              
                refactred test
              
              
                 7db3cc8
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 785a7ff
              
                fixed broken import
              
              
                 7571f7d
              
                fixed broken test
              
              
                 7854bf7
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 395eacb
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 6975378
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-add-met…
              
              
                 0d2e9ab
              
                update docs
              
              
                 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
        
          
  
    
      
          
            10 changes: 10 additions & 0 deletions
          
          10 
        
  services/director-v2/src/simcore_service_director_v2/modules/instrumentation/__init__.py
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| from ._setup import get_instrumentation, setup | ||
| from ._utils import get_label_from_size, get_start_stop_labels, track_duration | ||
| 
     | 
||
| __all__: tuple[str, ...] = ( | ||
| "get_instrumentation", | ||
| "get_label_from_size", | ||
| "get_start_stop_labels", | ||
| "setup", | ||
| "track_duration", | ||
| ) | 
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.