Our client is hitting their API call quotas for Analytics and trying to troubleshoot with their Dev team.
How can we help the client access their daily usage number to understand how much they are exceeding their quota?
The Google API console, which apparently has been renamed to "Google Cloud Platform", displays usage information in the API&Services-Section of your project.
Related
What will happen in google analytic SDK if firebase platform is not reachable or giving error responses.
You can test it on an emulator by rerouting the requests to the firebase endpoint to localhost. Or just disabling the internet.
The default behavior is to cache sent events to then send them when the server is available. Here's a good answer, going more in-depth: Does Firebase Analytics Work Offline?
We've been seing some sudden strange behaviour of our service account in Google Cloud console these past few days. We're using this service account to authenticate our API with Firebase SDK - and without any warnings the usage of this account just drops to zero (see attached screenshot).
There are no warnings from Firebase SDK telling us that the service account is no longer valid, and in fact the service account is stated as "active" in the cloud console. From Firebase SDK logs we're actually seing the read/writes be completed, but they are not actual performed when viewing the data in Firebase console, which is why I expect the problem to be within the service account.
The temporarily solution has been to create a new service account and upload the associated key to our API. Then it starts working again without any additional actions required, but suddenly the usage drops to zero after 12hours++.
There are no alarms in Google Cloud Console and billing is activated with status OK.
Since the Firebase logs tells us "everything is OK", and Google Cloud console does not show any warnings, I don't understand where the problem might be. Anyone experienced something similar, and could point me in the right direction? Any help is much appreciated!
Metric graph of service account usage
I want to consume the google analytics reporting API in some other server application and in that application, I can only make the HTTP API call to any other third party services and can not include any external library.
Please let me know is there any way to consume the google analytics reporting API without library and consume directly using the HTTP API Call.
I am very new to google analytics and don't know much about google analytics.
any documentation or solutions or suggestions will be very helpful.
Regards,
Nitesh.
I created a firebase function for making my website's recaptcha validation, but I'm getting the error that people get when they have the Spark (free) plan and try to send a request to an external api.
This is my error: Firebase functions ENOTFOUND on all http requests
And this is an error when someone else requested an external API: Firebase functions - getaddrinfo ENOTFOUND api.sandbox.paypal.com
From Firebase's pricing page:
The Spark plan only allows outbound network requests to Google owned services
Google owned services they say, so this shouldn't be a problem when requesting a recaptcha validation, right?
It it no longer necessary to be on the paid plan to call the reCAPTCHA server API as it was recently whitelisted (as long as you're accessing it via recaptcha.google.com). You can read more about that here.
Something in your code is reaching out to api.sandbox.paypal.com, which is not a Google-owned service. So you will indeed need to be on a paid plan for that.
Without seeing the minimal code that reproduces the problem it has hard to say what precisely calls Paypal.
Does the AngularFire service use REST under the hood?
If so is there no limits in the hacker plan, because the Firebase page on pricing says:
REST API requests don't count towards your connection limits
?
The AngularFire library uses Firebase's regular JavaScript/Web SDK under the hood. Each client keeps a connection open to Firebase servers, so will count towards the connection limits.
You can easily verify this yourself by creating a minimal AngularFire client and opening it in a few different browsers. After 15-20 minutes you can see the connections showing up in the Analytics tab of your Firebase dashboard.