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

Add lp as an optional label for stats #24

Merged
merged 6 commits into from
Jul 8, 2019
Merged

Conversation

matthewphsmith
Copy link
Contributor

@matthewphsmith matthewphsmith commented Jun 20, 2019

In building alarms and graphs on executions, it is not currently possible to different between executions started by different launch plans. This is problematic for us in our functional tests because the launch plan ID is what differentiates beta and prod executions. Likewise, this would make it difficult/impossible for users to alert on parameterized scheduled workflows.

This adds the necessary label context utils which will be used to set the launch plan context by Propeller.

@matthewphsmith
Copy link
Contributor Author

PTAL @wild-endeavor @EngHabu

@katrogan
Copy link
Contributor

katrogan commented Jul 1, 2019

LGTM but not sure if launch plan keys are too specific for stdlib?

@codecov-io
Copy link

codecov-io commented Jul 3, 2019

Codecov Report

Merging #24 into master will increase coverage by 0.12%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   70.37%   70.49%   +0.12%     
==========================================
  Files          51       51              
  Lines        1836     1844       +8     
==========================================
+ Hits         1292     1300       +8     
  Misses        429      429              
  Partials      115      115
Impacted Files Coverage Δ
promutils/labeled/keys.go 89.47% <100%> (+4.85%) ⬆️
contextutils/context.go 91.37% <100%> (+0.3%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8880068...1467570. Read the comment docs.

@matthewphsmith
Copy link
Contributor Author

🚀

@matthewphsmith matthewphsmith merged commit 0d50ff5 into master Jul 8, 2019
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
* Add lp as an optional label for stats

* goimports

* Add lp as log key

* Allow for testing of singleton metric keys

* remove init() function from test package since it is unclear what the effects of that would be based on ordering of tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants