Questions tagged [elastic-apm]

Elastic APM is an application performance monitoring system built on the Elastic Stack. It allows you to monitor software services and applications in real time — collect detailed performance information on response time for incoming requests, database queries, calls to caches, external HTTP requests, and more.

Elastic APM is an application performance monitoring system built on the Elastic Stack. It allows you to monitor software services and applications in real time — collect detailed performance information on response time for incoming requests, database queries, calls to caches, external HTTP requests, and more. Find more information at official product page

151 questions
1
vote
1 answer

Elastic-APM Invalid index name [_license]

We are trying to get elastic-apm install (for now on our development systems). According to Homebrew, we have the latest elasticsearch-oss (7.10.2), kibana-oss (7.10.2) and today installed apm-server-oss (which is at version 7.13.0). Running a…
phil
  • 4,668
  • 4
  • 33
  • 51
1
vote
1 answer

Environment variables within elasticapm.properties are not resolved

src/main/resources/elasticapm.properties server_url=${PROJECT_ELASTICAPM_URL} Environment variables within elasticapm.properties are not resolved in runtime, when server url is passed as an ENV parameter to the service launched by docker. The…
Rpj
  • 5,348
  • 16
  • 62
  • 122
1
vote
0 answers

How can I create traceId and start/end time when using elastic APM API?

I am using https://github.com/elastic/apm-agent-nodejs in a node application to send trace data to Elastic APM Server. const getApm = (serviceName = 'my-service') => require('elastic-apm-node').start({ serviceName, serverUrl: 'server…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

Elastic Apm python agent connection problem

I have a very basic Django APM agent setup: ELASTIC_APM = { # Set required service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space 'SERVICE_NAME': 'bourse', # Set custom APM Server URL (default: http://localhost:8200) 'SERVER_URL':…
HamedTaherkhani
  • 79
  • 2
  • 10
1
vote
2 answers

Using ByteBuddy to instrument another java agent

I'm using the Elastic APM Agent as a Java Agent to monitor usages of various methods in my spring boot microservice. This all works fine and we're able to graph various metrics in Kibana. Unfortunately what it doesn't do is consistently attach the…
ben
  • 31
  • 1
1
vote
4 answers

What is the best way to add APM to NuxtJS project

What is the right way to configure/enable an Elastic APM agent in a Nuxtjs project? I referred this documentation for a custom NodeJS app. The key takeaway was: It’s important that the agent is started before you require any other modules in your…
Shankar
  • 2,625
  • 3
  • 25
  • 49
1
vote
1 answer

How to view post/put/patch data

When error occurs, I want to see the data payload uploaded by users. I wasn't able to find the post/put/patch data in apm report. (kibana) Is there an option I need to turn on for this?
eugene
  • 39,839
  • 68
  • 255
  • 489
1
vote
1 answer

elastic APM and NestJS does not differentiate graphql queries

I am adding the elastic-apm-node package to our nestjs backend. I am using the graphql feature of nestjs. Because of this, all requests are merged together as /graphql in elastic. Is this how it is supposed to be? I imagined that since…
rablentain
  • 6,641
  • 13
  • 50
  • 91
1
vote
0 answers

Elastic APM: Mongoose spans cannot find transaction when used with apollo/graphQL

I am using Elastic APM. I find that mongoose integration is not working when used with GraphQL/Apollo Server somehow. I wrote an apollo-server plugin like this to start/stop transactions: import apm from 'elastic-apm-node/start'; import _ from…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
1
vote
0 answers

elastic apm can't connect to elasticsearch

My apm server can't connect to ES with the following log 2020-04-12T04:08:17.102Z ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(http://example.com:9200)): Connection marked as failed because the onConnect callback…
eugene
  • 39,839
  • 68
  • 255
  • 489
1
vote
1 answer

Distributed tracing with Elastic APM on .NET Core, non-HTTP

I am interested in using Elastic APM within an ASP.NET Core to instrument traces of a set of services which communicate over a mix of protocols (HTTP, SQS, SNS). Despite reviewing the documentation, I am not clear how I can use the Elastic APM…
Nathan Taylor
  • 24,423
  • 19
  • 99
  • 156
1
vote
1 answer

What exactly is "jvm.gc.time" in Elastic APM, and how to use it?

I'm using Elastic APM, and want to find out how long the garbage collector has been running during a period of time. This is to understand if the application is running out of memory, which seems more accurate than just checking heap used, as…
mnd
  • 2,709
  • 3
  • 27
  • 48
1
vote
1 answer

Illegal state exception: Error during attachment using: co.elastic.apm.attach.bytebuddy.agent.ByteBuddyAgent

I just created one application with springboot , used the Elastic APM attacher of APM tool. When i run the apm attacher, it generates error exception as shown below. Code used to generate the error: package com.howtodoinjava.demo; import…
Rv Arora
  • 13
  • 4
1
vote
1 answer

How to refactor stateful singleton while still allowing configurability/setup?

I wish to make a change to a standard singleton design pattern that follows the System.Lazy design as described here. The change is to Agent in Elastic APM Agent which can be seen in GitHub here. This is the code broken down for brevity: public…
Neo
  • 4,145
  • 6
  • 53
  • 76
1
vote
1 answer

How to detach Elastic APM agent?

I am trying out Elastic APM. I used automatic setup with apm-agent-attach-standalone.jar. (I also used -javaagent flag (manual setup), and it worked fine) C:\Users\dsm\Documents>java -jar apm-agent-attach-1.9.0-standalone.jar --pid 16832 --args…
Jin Lee
  • 3,194
  • 12
  • 46
  • 86