I have a mobile project where I am using Firebase Messaging. I need to collect some data on the status of sent messages (received opened, etc.) and show it in our web admin panel. Where can I find information and step-by-step instructions?
You can check the delivery reports panel in the Firebase console, and you can export the information to CSV from there. This would be a manual operation though, so probably not ideal if you want to show the data in your own app.
There is also an API to get aggregated delivery data. I'm notsure whether this API can be accessed directly from the client though. If not, you'll have to wrap it in a custom endpoint and call that from your own app.
Finally, if the above don't work for your use-case, you can configure FCM to export delivery data to BigQuery and build your own reporting API on that.
Related
I wish to leverage the logging services/features available in azure (Azure monitor/App insights/Log Analytics/etc ) and use them to store the custom events arising out of customers' actions in my app. Events like updating a record, adding, or deleting records, within my app, and also wish to leverage the search capabilities provided by the azure services, within my App via REST or SDK.
I wish to show those logs in grid form in my Asp.net UI and let the users visualize the logs and take actions after analyzing them. By providing the abstraction, I can give the user the ability to log anything that he likes while using my application and also have a search ability, but I will provide the interface to store and load the logs.
I am thinking that I can use the azure app insights for the same, but I don't see any SDK code or REST API to load the logs, provide the search capabilities to the user.
Is there a better path that I can take than going for Azure app insights?
Please check if given steps and references help to work around:
am thinking that I can use the azure app insights for the same, but I don't see any SDK code or REST API to load the logs, provide the search capabilities to the user.
You can filter and track the telemetry data before it's sent from the SDK by implementing ITelemetryProcessor.
To get your custom events data, you can use the code like customEvents | summarize sum(itemCount) in Logs Page which comes from the trackEvent(...).
Here is the MS Doc given code in multiple programming languages to track the custom events and metrics in Analytics.
To provide the custom events and metrics data to the end user, there is the data access API from the Azure Portal.
Other ways to extract data include export from Analytics to Power BI and continuous export.
References:
Azure Application Insights doesn't show custom events created in Azure function
Best Practices in Handling the Application Insights Custom Events
I zeroed into using the Log Analytics Workspace's "Custom logs" feature. This provides a REST endpoint to log the data and SDK to retrieve the data. Here is the link.
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-collector-api
I just want to ask is there any possibility right now to Send Firebase In App Message without using Firebase Console? I want to send In App Message (FIAM) to Android App from .NET C# MVC Web Application. I managed to send Push Notification(FCM) succesfully but what about In App Messaging? Is there any API available for that?
There currently is no API to configure the messages delivered/displayed by Firebase In-app Messaging. If this is a use-case you'd like to see added, I recommend you file a feature request.
The closest work-around at the moment would be to use Firebase Remote Config (which does have an API for setting configuration data) to deliver some value to your clients, and then have your clients display the message on those conditions. This is somewhat similar to what Firebase's In-app Messaging does behind the scenes, although (as far as I know) it uses its own infrastructure to deliver the configuration data.
All my applications are using Application Insights to log their activities. I have created some queries to monitor what each application is doing or the status of them.
For personal use, I created some dashboard where I display graphs and data.
Now, I want to share this dashboard with some users. The idea is to integrate this dashboard in the company portal; so users can see the dashboard without leaving our environment or open a new tab in the browser. All my applications are build in C#. I don't want to use PowerBi.
How can I implement a dashboard in my application? What kind of configuration is it possible to have? Is there any documentation for that?
1) You'd have to use the Application Insights REST API to read data directly and write your tool to display the data (or use other existing dashboarding things that already know how to use the REST API)
or
2) add your users as "reader" users to your subscription and share your dashboards with them in the azure portal
Like this topic : https://stackoverflow.com/questions/32843290/implementing-iot-powerbi-table-schema/32844087#32844087, I would like to retrieve data from an API REST to create a dashboard which will refresh in real time the data taken from the API.
In order to do that, I have to go through Azure Events Hubs to get the data taken from the API. I have troubles dealing with how to retrieve the data from the API to put it in the entry point of Azure Events Hub. I know I have to write a program (preferably by using Visual Studio) and make this program retrieve the data from the API and put it in the Event Hub but I have difficulties to see how I should begin. What kind of program and what I would need.
I tried to find some tutorial/codes about this but couldn't find anything about retrieving from external API.
From what I can understand, I need to write a program that connects to the Events Hub (not difficult), retrieve the data of the API, store it in a variable created and send it to Events Hub. I would like a bit help on how to start, where to start, what classes for example I would need etc...
I am not an expert on API at all, but I have some knowledge. For information this is the website from which I am trying to retrieve data from : https://data.sncf.com/api/en. The use of the API allows us to retrieve information in a json format if I am correct and I will have to save this data to store it in a variable ?
Thank you.
Per my understanding, I assumed that you could try to follow the steps below to achieve your purpose.
1.Use Azure WebJobs to call your API periodically, then send the data retrieved from the API to Azure EventHub;
You could follow this tutorial for getting started with WebJob by using VS. Also, you could follow this thread for making calls to a REST API via C#. For a simple way, you could leverage EventHub bindings supported by azure-webjobs-sdk to send messages to an event hub after you retrieved data from REST API.
2.For your client-side, you could follow the official tutorial to receive messages from EventHub via EventProcessorHost.
I am writing a simple WPF quiz application for a family member and he would like users of this application to have the option to send him their scores once they have completed the quiz. I was hoping to do this without the need to create some kind of webservice for the app to talk back to.
My initial idea was to email the results back, but that runs into problems. What if there is no SMTP client on the user's machine? I don't want to embed a password for a public smtp server into the application. I could do a Process.Start("mailto:..."), but that requires their machine to have a handler for mailto: and for them to click submit on the generated email.
Another idea I had was that the app could add a line into a Google docs spreadsheet, but that would mean a google docs password would need to be embedded in the app.
So my question is, without me writing a separate application running on a webserver for my WPF app to talk to, is there a good way of my app sending data back to me that doesn't require a password? I'm guessing there must be some kind of public webservice I could use for this?
If you're happy with a third party service that can do this for you, consider Parse, or any other 'backend as a service' provider.
You should then be able to implement something else that reads the saved data from the service when required, without having to expose itself as an API.
Create a google doc forms and when you need the user to submit their score, launch a web browser with the doc url. You can auto-populate the fields by query parameters( ... &entry_0=Barney&entry_1=Google& ... )