1,495 questions
0
votes
0
answers
54
views
Enable Zero-Code Instrumentation for gRPC Endpoint Metrics in a Play Framework App with OpenTelemetry
I have a Scala application built with the Play Framework that exposes a gRPC endpoint. Here's the current setup:
The application is instrumented with opentelemetry-javaagent.
The OpenTelemetry data ...
0
votes
0
answers
8
views
KEDA ScaledObject fails with error no account given despite providing accountId and queryKey directly in ScaledObject
I'm trying to set up autoscaling for my Kubernetes deployment using KEDA with New Relic as a trigger. However, I'm encountering an error despite providing the necessary accountId and queryKey directly ...
0
votes
0
answers
25
views
PHP Agent Installer Task Execution
Experiencing an issue during the installation of the New Relic PHP Agent. The installation fails during the task send_transaction with the following error:
{"err":"task: Failed to run ...
0
votes
0
answers
23
views
New Relic APM Integration with Azure Function (In-Process) Not Sending Data
I am trying to integrate New Relic APM with an Azure Function (in-process model), but I am not seeing any telemetry data in the New Relic APM. I am using serilog to inject logs into the new relic, I ...
0
votes
0
answers
51
views
Azure function New Relic APM Service Not Creating
I'm working with an Azure Function using the in-process model, configured with .NET 8 and Function version 4. I've implemented Serilog with New Relic ingestion and am successfully receiving logs. ...
0
votes
0
answers
50
views
How to extract completion rate for final step in NRQL funnel query
I have an NRQL query that I’m using to analyze user journeys through a series of specific actions within the last 60 minutes on a specified page. Here’s how it looks:
SELECT funnel(
user_id,
...
-1
votes
0
answers
25
views
How to Inspect Logs for an Expo React Native App on iOS (TestFlight)
I'm working with an Expo React Native app, which I've set up to use New Relic for monitoring. The New Relic setup works perfectly on Android, but for some reason, it isn't sending any data when the ...
0
votes
1
answer
129
views
How to correctly install an extension on an existing Azure web app using Bicep?
I have been trying to get an extension installed correctly on an existing app service, using a bicep module shown below. The problem is, it sometimes works, and other times it will fail due to "...
0
votes
0
answers
30
views
Text overflow Issue in Treemap Visualization using React and Recharts API
I am creating a custom visualization for New Relic using React and the Recharts library. My goal is to display data in a Treemap format. However, I am facing an issue where the text inside the boxes ...
0
votes
1
answer
32
views
Is it possible to use env/system variables inside newrelic.yml
I wonder if i can use env/system variables inside of my new relic java agent config. I know that the env variables rewrite the corresponding settings, but i want to use the env variable value inside ...
0
votes
1
answer
32
views
How to create a workflow for Alert Policy in NewRelic using NerdGraph API
I am trying to programatically create NewRelic workflows, I know I need three things.
destination
channel
workflow.
So I started with creating a destination.
mutation CreateDestination {
...
0
votes
1
answer
92
views
Unable to see logs in NewRelic using opentelemetry-dotnet
When the ASP.NET application is starting up, some logs are sent and they are visible in NewRelic. But when the application handles an http request, the logs sent through ILogger<T> never appear ...
1
vote
1
answer
91
views
Tracing transaction details with New Relic when passed to another thread
We are using New Relic Java agent with Play framework and having some troubles with tracking the transaction segments / details when the execution is passed on to another thread.
Consider this code:
...
0
votes
0
answers
29
views
Traceid was missing in newrelic logs
I had a api call which runs for every 10 minutes (scheduled time) . If input was not provided to this call it runs for all ids for every 10 minutes. so i was able to see logs for ids but traceid is ...
0
votes
0
answers
58
views
how to debug what is sent from opentelemetry agent to new relic?
We are trying to switch from the new relic java agent to the opentelemetry java agent.
It mostly works, but some things are missing including attributes. We dont know if this is an issue with the OT ...
2
votes
0
answers
87
views
How to add X-CorrelationToken header to open telemetry java agent so that logs can be searched
Our font end sends X-CorrelationToken header to all our backend API calls, and we write this token to every log entry, so we can search log files (via ELK) when an error occurs in a call.
We need to ...
0
votes
0
answers
20
views
Read logs stored in new relic
We currently are looking to build a UI and query capabilities to search the logs exported to New Relic. The user would search for a string in our application and we would build the query and retrieve ...
0
votes
0
answers
40
views
Sending data to NewRelic
Hello i have a app in NESTJS and im trying to send my data using OTP to NewRelic.
To reach it i made this code:
//tracing.ts
import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-base';
import ...
0
votes
0
answers
68
views
New Relic: PostgreSQL Docker Container Logs Not Appearing in Dashboard
I'm trying to set up my PostgreSQL Docker container logs to be sent to New Relic. I've followed the setup instructions for the New Relic Infrastructure agent, but I am not seeing the expected logs in ...
1
vote
1
answer
53
views
Heroku Django performance issues - Request Queuing
We run a Django application on Heroku, and lately we've been seeing some performance issues. We have New Relic APM add-on installed, and I can see that any time there is a peak in response times, the ...
0
votes
0
answers
83
views
New Relic Node.js Agent Reporting When Running The Function App Locally but Doesn't Report When Running on Azure
I have a Function App and I have added the newrelic.js file on the directory
'use strict';
exports.config = {
app_name: ['app-name'],
license_key: process.env.NEW_RELIC_LICENSE_KEY,
...
0
votes
0
answers
33
views
Newrelic EKS unable to push logs from PVC in other namespace
I've used the nri-bundle helm chart to build up Newrelic interaction with Kubernetes logs.
Pushing logs from input /var/log/containers/ logs to new relic is working properly.
Nevertheless, my ...
0
votes
1
answer
69
views
New relic TraceId Not getting poplulated in ASP.NET Core middleware
I am trying to access the newrelic traceid in ASP.NET Core middleware and pass it as a response header in the response.
Please see the implementation below :
public sealed class TraceIdMiddleware
{
...
0
votes
0
answers
91
views
NewRelic NRQL: Having clause in alert condition
I have the following query
SELECT
count(*) AS ErrorCount,
(filter(count(*), WHERE error = true AND http.statusCode = '500') / count(*)) * 100 AS 'ErrorRate'
FROM Transaction
WHERE appName = ...
1
vote
0
answers
34
views
Sourcemap enabled but stacktrace is only showing me the line + column number in the *.chunk.js file
I am getting an error from New Relic but it collects the stack trace from the bundle. I have enabled the source maps and can see the source code in the Chrome when I do Ctrl-P in the Source tab.
How ...
1
vote
0
answers
129
views
new-relic's browser-agent npm package can't be found
I'm following the instructions mentioned in https://www.npmjs.com/package/@newrelic/browser-agent#new-relic-browser-agent; unfortunately, when my application reaches the import statement, it fails.
...
0
votes
0
answers
24
views
How to use php bref newrelic extension for AWS Lambda?
I am deploying one laravel application via bref into AWS lambda.
It works great.
I want to add newrelic to my lambda as well.
I am following the documentation here
https://github.com/brefphp/extra-php-...
0
votes
1
answer
108
views
Add Dynamic Url to a New Relic Dashboard
I'm currently working on add graph widget to a new relic dashboard . Dashboard query contains dynamic parameters . I need to get data for all requests for that API call . My query is below
Not working
...
0
votes
0
answers
62
views
How to send Newrelic custom parameter when using NextJS?
I am using NextJS version 12 and Newrelic 8.7.1, from my package.json
"newrelic": "^8.7.1",
"next": "12",
const isProd = process.env.APP_ENV === '...
0
votes
1
answer
53
views
How to create a New Relic ping monitor
I created new account for new relic - on a free tier. And want to run a monitor to check the health of my webapp.
According to their documentation it should be possible to execute up to 500 synthetic ...
0
votes
0
answers
95
views
Service name sent by otlp not visible in NewRelic traces
I am try to send tracing data to NewRelic via Opentelemetry collector. I run otel collector using docker-compose . I can see traces via trace.id but service.name is not visible. I tried using jaegar ...
0
votes
1
answer
110
views
Unable to connect to newrelic using Opentelemetry
I am trying to send tracing data to newrelic using opentelemetry-otlp via http
Below is code snippet that I am using
fn main() -> {
let result = init_tracer_provider();
globa::...
0
votes
1
answer
122
views
Monitor metric in the last 24 hours using New Relic with Terraform
I'm trying to create a new relic alert condition using Terraform that looks at a certain metric, tunnel Data Out, for the last 24 hours, and alerts us if the the threshold is bigger than 50GB.
This ...
0
votes
1
answer
123
views
How to configure .net application running in kubernetes to see the app in the newrelic APM tab?
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 ...
0
votes
1
answer
47
views
new relic, does the (java) application have to be restarted to pickup changes to newrelic.yml?
We are using the java agent to monitor service calls etc.
There are several features such as slow query logging that new relic agent offers, but we don't want to have switched on by default due to ...
0
votes
1
answer
42
views
newrelic logging, does it affect existing (logback) logging?
Our java spring boot web app runs in AWS. We want to use newrelic to monitor the api endpoints and their timings. We dont want anything else, as we cant afford it. AWS sends our logs to our self ...
0
votes
1
answer
48
views
new relic with spring boot, how to get it to NOT use the newrelic.yml which maven downloads?
The guided instrucions for new relic with spring-boot tell you to:
add the below to your pom
download newrelic.yml and add your licence key, and put the newrelic.yml in a folder called newrelic.
...
0
votes
1
answer
45
views
How to develop NRQL alert when 200 status rate < 95% base on this pie
I am a new user for NewRelic, now I can develop NRQL to query some data:
SELECT count(http.server.request.duration)
FROM Metric
WHERE stage = 'production'
AND url.full = '/AAAAAAA/BBBBBBBB'
AND ...
0
votes
2
answers
95
views
Where do we get the path to newrelic.jar from?
When you add your Spring Boot web API app to New Relic for monitoring, the “guided install” instructions for Spring Boot on Windows give three steps:
add lines to pom
download newrelic.yml file
add ...
0
votes
0
answers
49
views
Querying custom metrics in NewRelic
I am using the Node.js agent for NewRelic.
I have been looking at sending custom metrics to NewRelic where the values are objects with keys, e.g.
import newrelic from 'newrelic';
...
const ...
0
votes
0
answers
100
views
How can I apply multiple tolerations with dynamic values in kubernetes helm values.yaml?
I apologize; I'm new to Kubernetes and yaml configuration and would like to seek help to achieve my goal related to Kubernetes spec. I want to add the following as a patch on my pixie values.yaml:
...
0
votes
0
answers
26
views
Analyze YOY data using NRQL
I wanted to analyze the year on year or bi-yearly growth of the metrices stored in New relic using NRQL queries. I am trying something like below, but not getting desired result.
select (max(`...
0
votes
0
answers
59
views
Install New Relic APM agent for .NET framework web app, .NET Core and Windows service applications on single server
We are planning install APM agent from New Relic. We have .NET framework web application, .NET Core and Windows service applications on the same server. How to handle this?
1
vote
0
answers
39
views
Huge discrepancy between response times reported by New Relic agent on Wildfly and Jetty and reported on HAProxy
We have a Java EJB application hosted on Wildfly 15 which has a lightweight Web API service hosted on Jetty 9 in front of it.
The Web API service just deserialises json requests from the clients and ...
0
votes
0
answers
59
views
How to migrate datadog Gauge() metrics to new relic ObservableGauge()?
I am currently in the process of moving away from datadog and migrating to new relic. I have a metric called Gauge() which needs to be migrated to ObservableGaug() metric.
String tag = (fileSizeMB &...
0
votes
0
answers
73
views
Can I disable the JVMs monitoring stats from New Relic?
I already have another source to monitor the JVM specific stats and I would like to find a way to stop sending those stats to New Relic.
I have the new relic java agent installed (com.newrelic.agent....
0
votes
1
answer
183
views
NRQL: Continuous graph for LATEST query
Background
I have a job that reports the status of a dependency when the status changes. So it reports 0 if it goes down, and 1 when it goes back up. But it reports very rarely because the dependency ...
0
votes
1
answer
328
views
New Relic APM agent VS New Relic OpenTelemetry for Quarkus microservices monitoring and observability
I have a Quarkus application (consuming/producing messages from multiple Kafka topics) deployed on an AWS Kubernetes cluster. I want to monitor/observe my application. Right now, I am using the ...
0
votes
0
answers
59
views
NewRelic with NextJS - alert application frontend errors via email
We have NewRelic integrated into our NextJS application (hosted in Vercel). I am able to see the error and other logs. But I was trying to get an alert when an application error occurs (frontend error ...
0
votes
0
answers
81
views
How to remove HTTP header from outgoing requests in c#
I have an API project in c# .net core 6 hosted in k8.
I have enabled new relic in my project and tracing each API request as below.
Uri uri = new Uri($"{uriHostPath}inittrans");
NewRelic....