You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the application running inside the kubernetes pod.
I have installed the newrelic dotnet agent in the kubernetes daemonset via helm command shown in the offical documentation.
Now I want that this .net agent will identify the dotnet application running inside the pod and forward its log as well as APM data like avg response time, % of error etc.
Currently when the application starts i.e. pod is up and running, it is sending the logs in the kubernetes section in newrelic account. where I can see the logs and filter them by pod name or container name. But I cant see the APM data or application in the APM tab. How/what to configure to see the APM data of the application.
New relic dotnet agent installed in the kubernetes daemonset.
I have added two nuget packages in the application:
I am able to get logs on the newrelic cloud, which I can filter by pod_name or container_name.
Expecting:
Now I want the APM Data in the newrelic cloud like avg.response time or % of error, type of error etc.
Can't see the A new test api serilog 2 (Value of NEW_RELIC_APP_NAME) in the APM tag.
Additionally Inside the newrelic cloud Kubernetes->pods->test-api-serilog-pod I can see the logs of the pod but can't see the APM data.
Doubt: Is it necessary to have the dotnet agent installed inside the application running container, Or can we configure the dotnet agent running in daemonset to send the APM data to newrelic as well?
The text was updated successfully, but these errors were encountered:
I have the application running inside the kubernetes pod.
I have installed the newrelic dotnet agent in the kubernetes daemonset via helm command shown in the offical documentation.
Now I want that this .net agent will identify the dotnet application running inside the pod and forward its log as well as APM data like avg response time, % of error etc.
Currently when the application starts i.e. pod is up and running, it is sending the logs in the kubernetes section in newrelic account. where I can see the logs and filter them by pod name or container name. But I cant see the APM data or application in the APM tab. How/what to configure to see the APM data of the application.
New relic dotnet agent installed in the kubernetes daemonset.
I have added two nuget packages in the application:
In the launchSettings.json I have added the following environment variables:
I have configured the serilog as following in the appsettings.json:
Create and Use the log in program.cs:
Creation:
Use:
Log.Information("This is get endpoint from test api");
pod.yaml file
I am able to get logs on the newrelic cloud, which I can filter by
pod_name
orcontainer_name
.Expecting:
Now I want the APM Data in the newrelic cloud like avg.response time or % of error, type of error etc.
Can't see the A new test api serilog 2 (Value of NEW_RELIC_APP_NAME) in the APM tag.
Additionally Inside the newrelic cloud Kubernetes->pods->test-api-serilog-pod I can see the logs of the pod but can't see the APM data.
Doubt:
Is it necessary to have the dotnet agent installed inside the application running container, Or can we configure the dotnet agent running in daemonset to send the APM data to newrelic as well?
The text was updated successfully, but these errors were encountered: