-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datadog logs #988
Comments
I've just test it in the repo with a simple code and the log messages appears on Datadog. logger: [
{
type: "Console",
options: {}
},
{
type: "File",
options: {
folder: "d:/logs",
filename: "moleculer-{date}.log",
formatter: "full"
}
},
{
type: "Datadog",
options: {}
}
] |
Hi, thanks for your quick answer. All the best! |
The other loggers such as Pino also do not work when using moleculer.config.js. |
Does this have something to do with the fact that Datadog requires key to be sent in header, and not as param? |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Current Behavior
Datadog logs are not sent.
Expected Behavior
I expect to see my logs in the Datadog dashboard.
Failure Information
First things first, amazing work, you guys. Developing microservices with Moleculer is bliss. I have the following configuration for Moleculer logger:
I can see my logs appear correctly in my console, but I can't see them in Datadog. There's no error regarding Datadog showing in my console.
Additionally, I tried doing a POST request using cURL, and it worked, so API Key is not the problem. I also tried to use the Winston logger option mentioned in Moleculer documentation, with this solution, but I had no luck.
I hope someone can help me; I've been stuck for days.
All the best, and thank you in advance!
The text was updated successfully, but these errors were encountered: