getting google pubsub status in json format

140 views
Skip to first unread message

Santosh Ashtaputra

unread,
Feb 20, 2017, 8:47:38 AM2/20/17
to Google Cloud Pub/Sub Discussions

Hi,


I know https://status.cloud.google.com/ will fetch status from all google cloud services. Is there anyway I can pull status only for google pubsub in json format?

and also is configuring 'uptime check' in google stackdriver monitoring with below url's is valid?

   

https://console.cloud.google.com/home/dashboard?project=project_id 

https://console.cloud.google.com/cloudpubsub/topicList?project=project_id 


Thanks,

Santosh

Kir Titievsky

unread,
Feb 20, 2017, 11:05:00 AM2/20/17
to Santosh Ashtaputra, Google Cloud Pub/Sub Discussions
Hi, Santosh: there is no dedicated uptime API for Pub/Sub, although I don't know if the status service supports filtering.

You can watch those topic pages, but I don't think hats what you want. Those will tel you if the UI is up, not if the service is accepting requests for your project.

Could you tell me more about what you are trying to accomplish? Perhaps we can find some other way to get you what you need.


Kir
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/9fe40edc-3252-4131-a832-1888baeaf6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Kir Titievsky | Product Manager | Google Cloud Pub/Sub

Santosh Ashtaputra

unread,
Feb 21, 2017, 8:11:11 AM2/21/17
to Google Cloud Pub/Sub Discussions, Santosh Ashtaputra
Thanks Kir for the reply.

My aim is to run some code in python and get status of google pubsub everyday at 6am without going to the webpage. Will json feed give that kind of information?



Thanks.
Santosh


On Monday, February 20, 2017 at 9:35:00 PM UTC+5:30, Kir Titievsky wrote:
Hi, Santosh: there is no dedicated uptime API for Pub/Sub, although I don't know if the status service supports filtering.

You can watch those topic pages, but I don't think hats what you want. Those will tel you if the UI is up, not if the service is accepting requests for your project.

Could you tell me more about what you are trying to accomplish? Perhaps we can find some other way to get you what you need.


Kir
On Mon, Feb 20, 2017 at 8:47 AM santosh Ashtaputra <santo...@gmail.com> wrote:

Hi,


I know https://status.cloud.google.com/ will fetch status from all google cloud services. Is there anyway I can pull status only for google pubsub in json format?

and also is configuring 'uptime check' in google stackdriver monitoring with below url's is valid?

   

https://console.cloud.google.com/home/dashboard?project=project_id 

https://console.cloud.google.com/cloudpubsub/topicList?project=project_id 


Thanks,

Santosh

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.

Kir Titievsky

unread,
Feb 21, 2017, 10:15:00 AM2/21/17
to Santosh Ashtaputra, Google Cloud Pub/Sub Discussions
Santosh, Is this meant to be a generic tool or something tied to a specific project of yours?

If it's tied to a specific project(s), your best bets are to build this on top of Stackdriver monitoring API: pull the latest actual stats, including rate of errors, and deduce if everything is running well or not. 

The status.cloud.google.com for Pub/Sub aims to reflect major issues that affect multiple users, limited to the service itself.  
k



On Tue, Feb 21, 2017 at 8:11 AM, santosh Ashtaputra <santo...@gmail.com> wrote:
Thanks Kir for the reply.

My aim is to run some code in python and get status of google pubsub everyday at 6am without going to the webpage. Will json feed give that kind of information?



Thanks.
Santosh

On Monday, February 20, 2017 at 9:35:00 PM UTC+5:30, Kir Titievsky wrote:
Hi, Santosh: there is no dedicated uptime API for Pub/Sub, although I don't know if the status service supports filtering.

You can watch those topic pages, but I don't think hats what you want. Those will tel you if the UI is up, not if the service is accepting requests for your project.

Could you tell me more about what you are trying to accomplish? Perhaps we can find some other way to get you what you need.


Kir
On Mon, Feb 20, 2017 at 8:47 AM santosh Ashtaputra <santo...@gmail.com> wrote:

Hi,


I know https://status.cloud.google.com/ will fetch status from all google cloud services. Is there anyway I can pull status only for google pubsub in json format?

and also is configuring 'uptime check' in google stackdriver monitoring with below url's is valid?

   

https://console.cloud.google.com/home/dashboard?project=project_id 

https://console.cloud.google.com/cloudpubsub/topicList?project=project_id 


Thanks,

Santosh

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsubscrib...@googlegroups.com.
--

Kir Titievsky | Product Manager | Google Cloud Pub/Sub

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Santosh Ashtaputra

unread,
Feb 22, 2017, 5:40:47 AM2/22/17
to Google Cloud Pub/Sub Discussions, Santosh Ashtaputra
As of now there is no separate tools for us. we just wanted status in json format so that we can send it to elastic search.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/9fe40edc-3252-4131-a832-1888baeaf6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Kir Titievsky | Product Manager | Google Cloud Pub/Sub

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/3393316c-1d75-406b-9fab-7b720f1f792e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Kir Titievsky

unread,
Feb 22, 2017, 12:58:06 PM2/22/17
to Santosh Ashtaputra, Google Cloud Pub/Sub Discussions
Santosh, there is a link to a JSON feed of the statuses at the bottom of https://status.cloud.google.com/. You'll have to do a little bit of filtering to grab Pub/Sub, but not much. Let me know if and how that works for you.

To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsubscrib...@googlegroups.com.
--

Kir Titievsky | Product Manager | Google Cloud Pub/Sub

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsubscrib...@googlegroups.com.



--
Kir Titievsky | Product Manager | Google Cloud Pub/Sub 

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages