Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Update the stackdriver getting started notebook. #32

Merged

Conversation

supriyagarg
Copy link
Contributor

The notebook is modified so that it handles projects with a large number
of GCE instances better. Instead of showing the timeseries for all
instances, the notebook now does so for instances matching a given
prefix.

Also, the output of the help is updated to reflect the underlying code
changes.

@supriyagarg supriyagarg force-pushed the stackdriver_getting_started branch 2 times, most recently from d3323c8 to eb134dc Compare September 28, 2016 23:27
@supriyagarg
Copy link
Contributor Author

@ojarjur: This PR is passing the travis tests in my github account, but failing here. See below:

Failing: https://travis-ci.org/googledatalab/notebooks/builds/163565845

vs

Passing: https://travis-ci.org/supriyagarg/notebooks/builds/163565840

Is there some setting I am missing?

@ojarjur
Copy link
Contributor

ojarjur commented Sep 29, 2016

@supriyagarg You're hitting a security feature of Travis.

Travis won't allow the required environment variables to be used in the build since the from repository is different from the target repository (doing so would allow the values of those variables to be leaked).

This is all intentional, and the work around is to do exactly what you've done; set up Travis builds on your fork repository.

Even though GitHub will show those tests as failing a repository administrator (either myself or Nikhil) can still merge the change.

Alternatively, you can create pull requests from a feature branch in this same repository, but you shouldn't think of that as being required.

@supriyagarg
Copy link
Contributor Author

Thanks for the clarification @ojarjur! I didn't run into this issue with pydatalab, so the behavior confused me. But yes, the notebooks repo needs the service account key, so this makes sense.

@supriyagarg supriyagarg force-pushed the stackdriver_getting_started branch 9 times, most recently from 0955acd to 9ece4d6 Compare October 5, 2016 20:17
Copy link

@vasbala vasbala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@supriyagarg supriyagarg force-pushed the stackdriver_getting_started branch from 9ece4d6 to c551908 Compare October 6, 2016 15:51
@supriyagarg
Copy link
Contributor Author

@ojarjur: This PR is now approved, and passes Travis tests on my fork. Can you please help with the merging. Thanks!

@@ -112,7 +112,7 @@
"### Stackdriver Monitoring\n",
"\n",
"The tutorials for this module use a sample project. This project is not readable by everyone. In order to execute the tutorials, you will have to set a default project, and make sure that it has at least one GCE Instance.\n",
"* [**Getting Started**](tutorials/Monitoring/Getting started.ipynb) - Cloud Datalab allows you to access and analyze the monitoring data. For an overview of how to access the timeseries data, start here."
"* [**Getting Started**](tutorials/Stackdrivering Monitoring/Getting started.ipynb) - Cloud Datalab allows you to access and analyze the monitoring data. For an overview of how to access the timeseries data, start here."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change "Stackdrivering" to "Stackdriver"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

The notebook is modified so that it handles projects with a large number
of GCE instances better. Instead of showing the timeseries for all
instances, the notebook now does so for instances matching a given
prefix.

Also, the output of the help is updated to reflect the underlying code
changes.
@supriyagarg supriyagarg force-pushed the stackdriver_getting_started branch from c551908 to e2d9f5e Compare October 6, 2016 21:55
@ojarjur ojarjur merged commit 7dca6bc into googledatalab:master Oct 6, 2016
@supriyagarg supriyagarg deleted the stackdriver_getting_started branch October 6, 2016 22:49
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