Open aguynamedben opened 4 years ago
I would very much like this too.
Yeah!!! Datadog would become super engrained at our company if we could send off metrics from our app. Right now it's a glorified log collector. We use some of the log processing features to generate faux-metrics, but I wish I could send off real metrics from our app.
🙏
Unfortunately you won't be able to use a client token for this.
This is just a client for the API which requires an API and possibly an APP token.
I would suggest reaching support@datadoghq.com to explain your use case and see what the best options are!
On Wed, Jan 27, 2021, 2:21 PM Ben Standefer notifications@github.com wrote:
Yeah!!! Datadog would become super engrained at our company if we could send off metrics from our app. Right now it's a glorified log collector. We use some of the log processing features to generate faux-metrics, but I wish I could send off real metrics from our app.
🙏
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brettlangdon/node-dogapi/issues/76#issuecomment-768517433, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCLILKPXFNU3ZIKULHOZTS4BRSHANCNFSM4O7B2BMA .
What I've found is that the browser SDK can send logs via a client token. Not sure about metrics. Our use case is that we want a limited key/token that we can use to send some data. We'd prefer metrics, but possibly we could send logs and parse metrics out of it. We don't want to distribute an all-powerful API token across our dev machines, but we're trying to collect app build performance metrics from devs machines to measure developer experience. It seems there's no way to restrict an API key, so I was going down the path of using a client token. However, I can't get the browser SDK to work outside the browser (Node in our case), so I'm stuck trying to reverse engineer the RUM API calls without any documentation on the RUM intake API being available that I can find. Any suggestions would be welcome.
Thanks for building this great library!
Hi, I'm building an Electron app and I'd like to collect metrics from the app. Is there any way I can use a Client Token to submit metrics? I'm playing with the API but keep getting erros that api_key is required.
The log management system and RUM can take a client token, but I haven't found a way to get their metrics APIs to accept a client token.