I would like to know how to find badwith usage and number of instance for azure. Is these features available in azure api ?
Bandwidth usage no. It is only tracked in billing and that currently has no open API. You can track bandwidth usage yourself if you funnel every request thru programmable API that can capture the size of data they're pushing out. (Incoming data is now free).
Number of instances, yes. Two ways to do this:
1) If done from "outside" of your deployment, you can use Service Management API to navigate to a specific Deployment and call this method: http://msdn.microsoft.com/en-us/library/ee460804.aspx
2) If done inside a role, you can use RoleEnvironment.Roles["role-name"].Instances.Count
Related
I am quickly reaching quota limits while using YouTube Data API v3 for searches only using 1 API key.
I have applied for Quota increase but I hear it can take some time.
However I landed on the below article which states that a max of 300 APIs can be used for 1 project. Are my really allowed to use multiple YouTube Data API v3 keys and switch between them each time quota limit is reached??
https://cloud.google.com/docs/authentication/api-keys
I had been scrambling for solutions. I hope I read it well!
Keys and credentials within a project share their quota. Creating additional api keys within the same project on google developer console is not going to get you additional quota.
As seen below all the credentials her will share the same quota.
You would need to create additional projects and create a key within each project.
All of these projects have their own credentials with their own quotas.
You should wait for an extension These days it shouldn't take more then a couple of weeks to hear back about a quota increase.
The answer is yes and no (but probably more no than yes in your case).
YES, you are allowed to use multiple Youtube Data API v3 keys and switch between but NO, you can't switch between them because you reached the quota limitation.
By doing so, you violate Youtube's Developer Policies compliance and expose yourself to sanctions. The only reason you should switch between them is to separate your environments.
From the Youtube's Developer Policies :
Don’t create multiple Google Cloud projects for the same API service or use case in an attempt to deceptively acquire an API quota that is higher than the one your project was assigned.
It is acceptable to have a separate API Project for each different use case of your API service. Examples include:
One API project for your iOS app, a separate API Project for your Android app.
One API project for a production server, one for a development server.
One API project for your user-facing API service, one API project for internal system analytics
source : https://developers.google.com/youtube/terms/developer-policies-guide#don%E2%80%99t_spread_api_access_across_multiple_or_unknown_projects
ActiveCollab has some very strong features in the UI related to resource management - capacity, scheduling, workload, calendars etc.
I would like to access these data set via the API, but nothing seems to be available per the documentation here: https://developers.activecollab.com/api-documentation/index.html (except Days-off)
Specifically, I'm looking to request daily capacity for all users.
No googling or dialogue with their support have been able to point me to an answer.
I'm trying to build a data collection web endpoint.The Use case is similar to Google Analytics collect API. I want to add this endpoint(GET method) to all pages on the website and on-page load collect page info through this API.
Actually I'm thinking of doing this by using Google Cloud services like Endpoints, BQ(for storing the data).. I don't want to host it in any dedicated servers. Otherwise, I will be end up doing a lot for managing/monitoring the service.
Please suggest me how do I achieve this with Google Cloud Service? OR direct me to right direction if my idea is wrong
I suggest focussing on deciding where you want to code to run. There are several GCP options that don't require dedicated servers:
Google App Engine
Cloud Functions/Firebase Functions
Cloud Run (new!)
Look here to see which support Cloud Endpoints.
All of these products can support running code that takes the data from the request and sends it to the BigQuery API.
There are various ways of achieving what you want. David's answer is absolutely valid, but I would like to introduce Stackdriver Custom Metrics to the discussion.
Custom metrics are similar to regular Stackdriver Monitoring metrics, but you create your own time series (Stackdriver lingo described here) to keep track of whatever you want and clients can sent in their data through an API.
You could achieve the same thing with a compute solution (Google Cloud Functions for example) and a database (Google BigTable for example) and writing your own logic.. but Custom Metrics is an already built solution that includes dashboards and alerting policies while being a more managed solution.
since Quickblox plans have a storage/Traffic limitation lets say 50Gb. I am trying to figure out the Storage/Traffic usage of the features, chat, user, custom objects, content and video in terms of the limitation (I am calling it usage charge)
1) Chat - Is there a traffic usage charge for every chat message sent/received?
2) Custom Object - I assume to store objects there is a storage usage charge but is there a traffic usage charge each time I access the objects (API calls should be free)?
3) Content - I assume to store content there is a storage usage charge but is there a traffic usage charge each time I access the content (API calls should be free)?
4) Video - supposed to be free?
Thanks.
API calls are free, you're right
10 GB storage: it's only about Content files (not Custom Objects records/Chat messages/Users etc.)
10 GB traffic: actually download/upload files from/to Content module produces the main traffic. API calls - it's really small amount of traffic, don't worry about it.
With regards of using the /threads object from Graph API I want to know if a public figure account has some limitation regarding the amount of received messages / day and to know if a Facebook application that reads them using /threads has limitation to access the entire list.
Suppose I develop an app used by a public figure that would receive 500k(or above) messages a day. Can I access all the messages (using a paging technique, of course)? Is there any chance to have the account removed or app disabled because of extensive usage of messages? If there is a need to pay for an account (and-or application) with such a usage, where do I find the pricing list?
Thank you.