-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
slo-generator v1.0.0 #403
Merged
morgante
merged 113 commits into
GoogleCloudPlatform:master
from
ocervell:slo-generator-v1.0.0
Apr 1, 2020
Merged
slo-generator v1.0.0 #403
Changes from 1 commit
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
67b0ddb
Add support for Service Monitoring API
c79d027
Update package for Stackdriver Service Monitoring API support
b3087f3
Update documentation, fix lints
dabad16
Switch support for Stackdriver Service Monitoring and use Python SDK
336c52b
Increment version to 1.0.0
985a397
Improve documentation
b9eda14
Rename secondary error budget policy
17ba20d
Update linting
feb3613
Fix tests
77dc77f
Remove prometheus-client from deps
1edce5a
Merge v0.2 into service-monitoring-api
5251167
Move report generation to report.py, remove unneeded tests
a6e7156
Fix sample env var
c675744
Reformat SLO report computations in a dataclass
462ee53
Update SLO report dataclass
f26ecd2
Merge branch 'master' into slo-generator-v1.0.0
3dfb4c6
Update all backends to have an easier interface
b62888b
Fix commit merge conflicts
5c7c470
Fix bug
34a0955
Fix elasticsearch broken backend
9a0f75b
Run YAPF on code
1463a20
Update sample YAML names
d508677
Improve documentation for SD / SD Service Monitoring and ElasticSearch
db16b03
Support basic SLIs in SSM
e92ebd7
Support basic SLIs
496f07e
Update docs
e63e91d
Add samples/ documentation
031b68b
Add new samples for log-based metrics
483ade6
Run YAPF
a371124
Fix linting
a71efe6
Merge branch 'master' into slo-generator-v1.0.0
cfacbd0
Fix pylint / flake8 errors
e4550a6
Fix compute_slo_report
c01c88f
Update tests
255ed3c
Fix Prometheus backend
bd07143
Add utility to list all SLO files in folder
e55a267
Fix case where SLI=0
19afd72
Add log-based metric example
649d911
Update Python required version to 3.4
2d2f95a
Add Prometheus exporter to tests + rewrite some tests to be more legible
9ae342b
Add prometheus client to required dependencies
d242e55
remove log-based metric sample for now
759afce
Run YAPF on code
7ead29c
Fix docstring in SSM
e79c3db
Fix Pylint + run YAPF
a3a93bb
Run YAPF
23f6af0
Fix YAPF issue
04bbd35
Merge branch 'master' into slo-generator-v1.0.0
0278945
Fix **kwargs for SD and SD Service Monitoring
289c202
Improve SLO report __str__ representation
857164b
Improve SLO report __str__ representation
1447c28
Improve SLO report __str__ representation
475dec5
Improve SLO report __str__ representation
359fa65
Improve SLO report __str__ representation
efb56dc
Improve SLO report __str__ representation
8f30351
Improve SLO report __str__ representation
744fad9
Improve SLO report __str__ representation
74ac73c
Improve SLO report __str__ representation
635d78a
Update SSM to pick app_engine, mesh_istio sections under measurement
aaf0fd9
Improve detection of missing services
6397552
Improve detection of missing services
9ece060
Improve detection of missing services
ead9078
Improve detection of missing services
1db3e43
Improve detection of missing services
9a30c3a
Run YAPF
4d40db6
Add clusterIstio docs + sample for Service Monitoring API
9040cf3
Rename GKE_CLUSTER_LOCATION to GKE_LOCATION
ee28885
Improve documentation for Error Budget and Stackdriver Service Monito…
d2bf190
Fix docs (indenting)
17510de
Fix docs (indentation)
baf16bf
Add example for mesh_istio
df13dab
Format md title
319cf22
Format YAML in docs
f268776
Format YAML in docs
c7c5473
Remove TODO.md
ab2710e
Improve explanation for custom backend / exporter
f48cb54
Improbe README
7a73cdb
Limit .md line < 80 chars
92f12f8
Modify Elasticsearch backend to default to @timestamp for date filtering
a27b86e
Run YAPF
4b149cc
Tidy up Makefile
df88f3d
Fix SSM samples
44e7be5
Add README for using samples
2996a0f
Tidy up code
530d270
Add unit tests for Stackdriver Service Monitoring
df31669
Fix knit in docs
5ede75f
Fix samples service_name and feature_name for GKE
a189b34
Fix weird behaviour of SSM API with service paths
bca043b
Improve log output
0d70d71
Merge branch 'master' into slo-generator-v1.0.0
d5f3bea
Merge branch 'master' into slo-generator-v1.0.0
1caa4ff
Fix typo in README.md
792db70
Fix typo in README.md
d0c3b92
Merge branch 'master' into slo-generator-v1.0.0
d6860cf
Merge branch 'master' into slo-generator-v1.0.0
2ebafa3
Lint setup.py
33ee6e0
Add timestamp option to SLO generator CLI
a46ade1
Merge branch 'slo-generator-v1.0.0' of https://github.com/ocervell/pr…
0a8624d
Add timestamp arg to SLOReport class
7af1eff
Run YAPF
1bc9ee8
Add timestamp arg to SLOReport class
bcfd4a3
Merge branch 'master' into slo-generator-v1.0.0
169b7e6
Merge branch 'master' into slo-generator-v1.0.0
84fa150
Update tools/slo-generator/Makefile
ocervell 026fa88
Fix knits from PR review
b7b64e4
Merge branch 'slo-generator-v1.0.0' of https://github.com/ocervell/pr…
e812422
Fix deprecation warning to 2.0
eb4bfa3
Loop through names instead of kwargs
905e3dc
Remove class name shortcut
6c540d1
Add return value to CLI function + add assertions in tests
6db9a65
Update CLI tests to check return value of cli method
3603f8a
Merge branch 'master' into slo-generator-v1.0.0
5b9006a
Merge branch 'master' into slo-generator-v1.0.0
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
Update linting
- Loading branch information
There are no files selected for viewing
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the MetricBackend being dropped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base class does not add anything to the
backends
orexporters
module, except more complexity having to call the parent's__init__
method, so IMHO not inheriting makes it simpler for people to add more backends if they wish to do so.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. I think it's valuable to still keep a shared/consistent interface but we don't need to block on that.