Is there a way to source control Google Stackdriver alerting policies? - stackdriver

https://cloud.google.com/monitoring/alerts/ currently mentions only console based configuration. It would be really helpful if there was a way to define this as a yaml or json, and upload that config to stackdriver

and thanks for using Google Stackdriver!
Currently there is no way to source control alerting policies. We realize the need and are thinking of ways to improve and add similar abilities.

Related

Is it possible to use AB-Tests in Google Optimize for offline source Code?

I have a question about Google Optimize and Analytics.
I want for my Bachelor-Thesis use both Tools for creating and evaluating A/B-Tests and Multivariate Testings.
But I don't have a Website which is SSL-protected to use it. Therefore my question, can Google Optimize and Google Analytics be used either on a localhost server, or on source code, with html/css/javascript files?
Thanks for your answers.
Best greetings
Maxim

Multiple options in custom connector configuration

As answered in multiple options for a community connector configuration in Google Data Studio, it seem no possible this.
As far as we can see now, for connectors like Adwords, DCM and Google Sheets the configuration is dynamic (updating configuration values based on something already selected in the configuration).
Anybody have any clue on how this is being done?
Thanks in advance
Update (2020/05/05): This can now be achieved through Stepped configuration in Community Connectors.
Original: Adwords, DCM, and Google Sheets are native connectors in Data Studio. Community Connectors are implemented differently using Apps Scripts and thus have limited functionality compared to some native connectors.
That said, if you would benefit from this feature, please submit a feature request / vote for it.

How to create variety of views in meteor client?

I'm wondering if we can provide different views with different URLs in meteor clients with the same server? That is, for a porker game, one view for each player.
A much clear example:
http://app1.meteor.com/myself # a web view for a user
http://app1.meteor.com/all # a web view for the administrator
You can use router. It is very easy to use.
You can find examples on usage here.
Yes. You just need to track user sessions. You can see an example of this here:
http://user-sessions.meteor.com/
and the source can be found here:
http://github.com/possibilities/meteor-user-sessions

Integrate Orbeon with Alfresco

My question is very simple. I have an Orbeon form and I want to store the XML file of the form in Alfresco. What is the easiest way to do this integration.
I know that Orbeon PE has this feature but I would like to use CE.
I also checked http://blog.ossgeeks.org/2011/12/alfresco-persistence-layer-for-orbeon.html but I couldn't get it to work.
Using or creating an Alfresco persistence layer is the way to go. Most likely this means either:
Getting the persistence layer Alexey mentions in that blog post to work. Maybe you could get feedback about the specific issue you have by posting a more details description as a comment on that post.
Writing your own persistence layer. This might be simpler than what you imagine, especially if you don't need all the operations (e.g. if you don't need search since you won't be using the summary page).

Data from Google Analytics

So Google Analytics does not have an API that we can use to get our data, so is there an efficient way to programaticly fetch the data collected by Google, without logging it locally?
Edit:
I would prefer a Python or PHP solution but anything will work.
Google just announced that they're making available a data export API for Google Analytics. It sounds like that's exactly what you're looking for.
Per their announcement, the feature's currently in private beta, but I figure it'll be rolled out to all accounts in coming weeks/months. Depending on your needs, you may just want to wait, instead of building a short-term hackish solution.
If you're interested, I presume that the functionality's being rolled out first to members of the Google Analytics Trusted Tester program.
Also, I forgot about this: I never actually completely implemented this for a client because the deal fell through...
But you can customize the dashboard to include the sections of Google Analytics that your report might need and have a scheduled email. If the reports do not need to be too detailed and if Google already aggregates the data in the way you need it, then this might work for you.
The Google Analytics API is now open to everyone and looks like it contains the full data set
Well, it depends on what you want to do with the data. If you only want to process part of it, then I don't think it is difficult.
Here's a basic web search with a hit explanations from Google and someone else:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55561
http://blogoscoped.com/archive/2008-01-17-n73.html
There is a completely programmatic way to access the data using greqo(PHP), but the analytics class is in beta. Check it out here.
If beta is not acceptable, you can use a mixture of the XML and Yahoo Pipes to get what you need.
Basic Method
Obtain the tracking data in a usable
format – We can schedule Google
Analytics to email this as an XML file
on a regular basis.
Make the XML file accessible online –
By emailing an attachment to Google
Groups, the file is automatically
given a public URL.
Work out the URL of the most recent
report – Since Google Groups provides
RSS/Atom feeds for all messages, we
can easily find the URL of the most
recent message and therefore work out
the URL of the XML report.
Prepare the data for use – We need to
manipulate the XML and massage it into
a handy JSON format that we can use on
our blog, which can all be done using
Yahoo Pipes.
Taken from here.
I implemented a solution where we scheduled the analytics report to be emailed to a gmail account each day and I pulled the report on demand via POP3. It's pretty easy and works fast. I've heard Epic1 will do this for you as well. I'm researching that now.
If you're using Python, Pandas io is also very helpful. Pandas has an interface on top of the Google Analytics API. It's pretty simple to get up and running and integrates with Pandas so you get the aggregation, time series features, and other data analysis library features.
instructions on how to authenticate and shows examples: http://blog.yhathq.com/posts/pandas-google-analytics.html
more examples: http://quantabee.wordpress.com/2012/12/17/google-analytics-pandas/
I've also posted a few queries to get started
https://github.com/sk8asd123/ga_pandas
Its been a while since I had to deal with this, but Google Analytics has an XML output type, so you can parse that to get the data in your own system. However, I believe that there is no way to get the xml file programatically, so someone still has to go in and generate the file and feed it to your app.
Good question though, I'd love to see if there is a 100% automated solution.
We just released a product - Megalytic - that makes it very easy to create custom reports using data from the Google Analytics API. You can email these reports to others without sharing your Google Analytics account. Also, create links to reports, download as PDF, etc.

Resources