Skip to content

Commit

Permalink
fix(stackdriver): Fixed installer pre-requisites and orca dashboard t…
Browse files Browse the repository at this point in the history
…ypo. (#49)
  • Loading branch information
Eric Wiseblatt committed Mar 27, 2017
1 parent c0e3bf4 commit 5a285fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
Expand Up @@ -55,7 +55,7 @@
"dataSets": [
{
"timeSeriesFilter": {
"filter": "metric.type=\"custom.googleapis.com/spinnaker/clouddriver/controller.operations__count\" AND metric.label.success=\"true\"",
"filter": "metric.type=\"custom.googleapis.com/spinnaker/clouddriver/operations__count\" AND metric.label.success=\"true\"",
"perSeriesAligner": "ALIGN_DELTA"
}
}
Expand Down
Expand Up @@ -56,7 +56,7 @@ function install_server() {
function install_client() {
# 20170226
# Moved this from the daemon requirements for consistency with datadog.
pip install -r "$SOURCE_DIR/requirements.txt"
pip install -r "$DIRNAME/requirements.txt"

config_path=$(find_config_path)
if [[ -f "$config_path" ]]; then
Expand Down Expand Up @@ -87,6 +87,10 @@ function install_dashboards() {
exit -1
fi

# 20170226
# Moved this from the daemon requirements for consistency with datadog.
pip install -r "$DIRNAME/requirements.txt"

for dashboard in "$DIRNAME"/*-dashboard.json; do
"$cli" upload_stackdriver_dashboard --dashboard ${dashboard} "$@"
done
Expand All @@ -108,7 +112,7 @@ if $SERVER; then
fi

if $DASHBOARDS; then
install_dashboards
install_dashboards "$@"
fi

if $CLIENT; then
Expand Down
Expand Up @@ -92,7 +92,7 @@
"dataSets": [
{
"timeSeriesFilter": {
"filter": "metric.type=\"custom.googleapis.com/spinnaker/orca/task.invocations\" AND metric.label.executionType=\"Orchestration\" AND metric.label.isComplete!=\"true\"",
"filter": "metric.type=\"custom.googleapis.com/spinnaker/orca/task.invocations\" AND metric.label.executionType=\"Orchestration\" AND metric.label.isComplete=\"false\"",
"perSeriesAligner": "ALIGN_SUM"
}
}
Expand All @@ -106,7 +106,7 @@
}
},
{
"title": "Sucessful Orchestrations (orca)",
"title": "Successful Orchestrations (orca)",
"xyChart": {
"dataSets": [
{
Expand Down Expand Up @@ -153,7 +153,7 @@
"dataSets": [
{
"timeSeriesFilter": {
"filter": "metric.type=\"custom.googleapis.com/spinnaker/orca/task.invocations\" AND metric.label.executionType=\"Pipeline\" AND metric.label.isComplete!=\"true\"",
"filter": "metric.type=\"custom.googleapis.com/spinnaker/orca/task.invocations\" AND metric.label.executionType=\"Pipeline\" AND metric.label.isComplete=\"false\"",
"perSeriesAligner": "ALIGN_SUM"
}
}
Expand All @@ -167,7 +167,7 @@
}
},
{
"title": "Sucessful Pipelines (orca)",
"title": "Successful Pipelines (orca)",
"xyChart": {
"dataSets": [
{
Expand Down

0 comments on commit 5a285fc

Please sign in to comment.