I see that bluemix has a service called Monitoring and Analytics. All I see from that service are dashboards. I am looking for the information the dashboards are providing in the form of an API. For example, if I want to be notified that my application is down or it is slow running, etc .. Is there a way for me to either receive such alerts or for an API that I can poll periodically?
thank you
The Monitoring & Analytics service does not offer an API to retrieve its collected metrics. We realize that supporting a programmatic interface would be helpful and it's in our backlog to add that capability.
However, M&A does support the other part of your question regarding alerts. There should be an Events tab in your dashboard. In the upper right corner, there's a dropdown to "Configure events policy". If you select it, you can enable Availability alerts ("Is my app down?") and/or Performance Monitoring alerts which are geared to the app's run-time type (Liberty, Node.js, etc.). In that same dropdown you can also "Configure notification". If you specify your email address in the notification dialog, you will start receiving alerts when your Bluemix application is down or running slowly.
Related
I'm at the beginning of spec'ing out a project to implement browser notifications. From a high level it appears like it will be something similar to:
Create a service worker which subscribes to a pubsub topic.
Leverage the Notifications API and WindowClient to publish a browser notification when an event happens and the window is in a non-foreground state.
Seems, straightforward enough. However, I'm getting a bit hung up from a mobile perspective. Namely, it seems to be the typical pattern that if a mobile device has both the mobile website open and an application installed, the native notification should take precedence and the browser notification should be silenced.
However, I can't seem to figure out how a service worker would inspect for the presence of a mobile application. It is entirely possible that I'm approaching this problem from the wrong perspective though, and the typical recipe for this is handled differently.
Brent, IIUC your question is a non-issue because topic-based subscription is simply not supported by either the W3C Push API or the IETF webpush protocol. I'm afraid that this is by design :-(
Therefore your native app will not be delivered the same broadcast message as your browser UA.
If OTOH you were talking about save-to-homescreen WebApp and a web-page running in a tab then, I believe, your service worker can choose which member of the active client collection to foreground (if necessary) but there will only be one toast message (if at all given rules governing blind/invisible notifications)
I'm using the Gmail API Users.settings.sendAs: update to automatically update the signature settings of our users. The issue I'm having is the change in the signature does not get reflected in the Gmail web client unless the web page gets reloaded. Our users can spend several days, even couple of weeks, without reloading their Gmail web page, making the update almost useless.
I would like to know if there is a way for the web client to pick up the new settings once the changes are made through the API without requiring the user to reload the page?
You may want to use Push Notifications feature in Gmail API. This lets you watch for changes to Gmail mailboxes. You can use this feature to improve the performance of your application. Whenever a mailbox changes, the Gmail API notifies your backend server application.
Then, you may proceed with Synchronizing Clients with Gmail if you need to process changes. As discussed in the documentation, you can also use push notifications to trigger partial synchronization in real-time and only when necessary.
Hope that helps!
I am trying to enable Analytics in a Hybrid App that i am developing. As per the instruction in the telerik docs, i enabled analytics in my application and after that i am able to see Data in the Live Tab. But i am not able to see any data on any other tab. I enabled the automatics reporting while enabling anaytics.
Is there anything else to be done. Should i add any code or something into my project for monitoring data. Basically i am looking for data that will give me sessions and installed platforms.
By default you will have lots of information collected: sessions, users, location, hardware info, os info, etc.
Make sure to select the "Live Mode" radio button in the time period selector at the top of the dashboard. This is needed to see the data you are looking for, until the data has been fully processed.
I am the Product manager for Telerik Analytics. Feel free to reach out!
I wonder if its possible to get reminders due in a certain period of time. I am working on a Calendar app. I was thinking of using Google Calendar as a "backend/calendar storage engine". Since implementing a calendar backend seems hard. The recurrences and reminders part. The challenge that I have now is, I want to send push notifications for reminders. So was wondering if there is a way to query for reminders due the next hour for example.
How can I do this?
Reminders are alarms triggered at a specified time before an event starts
However, the delivery mechanisms only available by Google API are
Pop-up. These are supported on mobile platforms and on web clients.
Email sent by the server.
SMS. These are only available for Google Apps for Work, Education, and Government customers.
Push Notification is a bit different, as you're required to have a GCM Connection Server with additional configurations in the developer console.
I have developed a dating website built on top of the Google App Engine, to which I would like to add instant messaging, and possibly/probably audio and video conferencing.
Given that the users on the website do not want to share their personal details or real contact information, I am handling all of the login information and sessions without assuming that the clients have (or even want) a google account ID or any other login that is associated with their real identity.
I would like to hear suggestions on how I could go about adding instant messaging to my website given that I cannot just directly access Google Talk or some other existing service.
Would it make sense to use XMPP for this, and if so will Google Talk or any other XMPP service provider allow me to register new user accounts without manual intervention (ie. after a user is registered on my site, automatically register them with the XMPP provider)? Or, if not, perhaps I can use a single google ID with Google Talk with a different resource identifier for each user (me#google.com/user1, me#google.com/user2, etc...), and send messages between the different resources? Could this work, and/or would having thousands of simultaneous connections to a single account get me banned from Google Talk?
Perhaps some kind of AJAX based solution might make more sense given the fact that users are already registered on my website, but are not registered for an XMPP service?
Any suggestions about how I might approach this problem would be greatly appreciated.
Kind Regards
-Alexander
Text chat is the easier problem. You can do either with or without XMPP. Without XMPP, you'll be building a Facebook chat type client on your pages that sends messages from each user to the app, and the app then shows then on the recipient's screen.(The client can be polling, or use comet when it comes out). Check out olark to see how this works.
Once you build code to use the app as a switchboard that routes the correct message to the correct person (anonymously, maybe), you can port this easily to XMPP if you require. Both parties add you.dating.site#appspotchat.com to their buddy lists, and you send all messages from girl#site.com to guy#site.com and vice-versa. (assuming a heterogeneous site.)
Audio and video, I have no clue how to do without sharing details between the parties :-/