-
Notifications
You must be signed in to change notification settings - Fork 606
Networking metrics #278
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
Merged
Networking metrics #278
Changes from 80 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
0e8fc14
operator endpoint in istio
1vn a1d2c4d
progress
1vn 556dfb0
WORKING
1vn d5d16e7
fix namespace
1vn a3fe16c
cleanup
1vn b872e18
Replace argo with operator DAG manager
deliahu 9051110
Merge branch 'master' of github.com:cortexlabs/cortex into dag
deliahu 928675a
Rename pod check intervals
deliahu 4d95415
Update operator_local
deliahu 1c01b3a
Skip external dataset check if no environment
deliahu 05e43cb
Cap desired replicas at max replicas
deliahu e960602
merge dag
1vn edf1816
Update api workload succeeded check
deliahu 76a325f
Use Update() instead of Patch() in k8s
deliahu e265d88
Remove killdev make command
deliahu 8981de2
fix api
1vn 3a2b6d7
merge dag
1vn 9807aa2
minor fixes
1vn 6f455ef
progress
1vn 55884bc
https progress
1vn 67f6050
merge master
1vn f6da3fc
https
1vn 4b99f50
generate random password
1vn 23c3f5a
remove istio READMEs and examples
1vn 3585277
clean up
1vn 3787854
format
1vn f01b6ff
merge master
1vn d3a6e04
update lint
1vn 6b12db7
remove vendoring of istio, download at build time
1vn 6f5cc35
add back space
1vn 3835a8c
add back eks commands
1vn 240d8a8
remove helm uninstall lines
1vn 175e775
clean up
1vn 6487bdc
clean up
1vn ee96c71
clean up
1vn b84d1e9
address comments
1vn 1e3638e
merge master
1vn 9381501
unexport update
1vn 66fc3c0
unexport update
1vn 9dd8cb5
remove ls, add back uninstall
1vn 198ce5d
progress
1vn 3fae4e1
merge master
1vn 265a4f4
address comments
1vn 6c9a0e3
remove newlines
1vn 2fe7980
fix api port
1vn 66121f7
address comments
1vn fbce830
merge master
1vn 1fe657a
clean up install/uninstall
1vn a4e9d17
add license
1vn a9ac5b7
Merge branch 'master' into istio
1vn f74b71b
add missing istio images
1vn f45fac2
add to cortex
1vn d6395b4
wait for istio propagation
1vn 403845f
progress
1vn 08c0847
progress
1vn 16430b4
progress
1vn e02c218
progress
1vn c032b73
merge master
1vn 54dbc5b
merge master
1vn 03c26da
remove
1vn 33f75b0
track requests
1vn 4a40457
track response time
1vn 3c78f63
Merge branch 'master' into istio-metrics
1vn 76519d1
report errors
1vn 6d3cd3d
merge master
1vn 2caa12c
lint
1vn fd9dfde
remove error
1vn 74a97aa
undo leftover changes
1vn 38076f0
Merge branch 'master' into istio-metrics
1vn 091c014
remove dev/cortex.sh
1vn c7f4802
remove json indirect dep
1vn 8b981a7
track requests
1vn 35b1258
fix ordering
1vn 7a03909
clean up metrics
1vn 770a11f
remove api ID
1vn c7ad6a6
remove workloadType
1vn a779900
record response time from ingress
1vn 60cf44c
remove istio.yaml
1vn 3c71bbb
clean up
1vn 0189836
address comments and fix secrets bug
1vn 2c09681
merge master
1vn 851c82f
address comments
1vn 61c3622
nulls -> null
1vn 2dcde25
Merge branch 'master' into istio-metrics
1vn b740439
merge master
1vn 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright 2019 Cortex Labs, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: config.istio.io/v1alpha2 | ||
kind: instance | ||
metadata: | ||
name: response-time | ||
namespace: $CORTEX_NAMESPACE | ||
spec: | ||
compiledTemplate: metric | ||
params: | ||
value: response.duration | ||
dimensions: | ||
REQUEST_PATH: request.url_path | "unknown" | ||
--- | ||
apiVersion: config.istio.io/v1alpha2 | ||
kind: handler | ||
metadata: | ||
name: cortex-request-handler | ||
namespace: $CORTEX_NAMESPACE | ||
spec: | ||
compiledAdapter: cloudwatch | ||
params: | ||
namespace: $CORTEX_NAMESPACE | ||
logGroupName: $CORTEX_LOG_GROUP | ||
logStreamName: $CORTEX_LOG_GROUP | ||
metricInfo: | ||
response-time.instance.cortex: | ||
unit: Milliseconds | ||
logs: {} | ||
--- | ||
apiVersion: config.istio.io/v1alpha2 | ||
kind: rule | ||
metadata: | ||
name: cortex-api-requests | ||
namespace: $CORTEX_NAMESPACE | ||
spec: | ||
match: source.workload.name == "apis-ingressgateway" | ||
actions: | ||
- handler: cortex-request-handler | ||
instances: | ||
- response-time | ||
--- |
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
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.