Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Doesn't appear to initialize in CloudHub #22

@kneithamer-rh

Description

@kneithamer-rh

Hey there, this seems to work perfectly when running locally, however when exporting as a jar to upload to CloudHub (2.0) I see nothing related to APM at all initializing, and nothing is logged. Am I missing something simple?

I have the following dependencies in the project pom:

		<dependency>
			<groupId>co.elastic.apm</groupId>
			<artifactId>mule4-agent</artifactId>
			<version>${elastic.mule4.apm.agent}</version>
		</dependency>
		<dependency>
			<groupId>co.elastic.apm</groupId>
			<artifactId>apm-agent-attach</artifactId>
			<version>1.17.0</version>
		</dependency>
		<dependency>
			<groupId>co.elastic.apm</groupId>
			<artifactId>apm-agent-api</artifactId>
			<version>1.21.0</version>
		</dependency>

And the following line in the high-level project flow:

I also attempted to add the java properties like you mentioned in a nearly identical issue on the mule3 version, to no avail: michaelhyatt/elastic-apm-mule3-agent#11

These are all of the properties I have currently:
elastic.apm.active=true
elastic.apm.enabled=true
elastic.apm.log_level=INFO
elastic.apm.instrument=false
elastic.apm.server_urls=https://****
elastic.apm.secret_token=****
elastic.apm.service_name=intake-service
elastic.apm.service_version=v1.0.0
elastic.apm.stack_trace_limit=15
elastic.apm.span_frames_min_duration=0ms
elastic.apm.mule.capture_input_properties=true
elastic.apm.mule.capture_output_properties=true
elastic.apm.mule.capture_input_properties_regex=http_(.)
anypoint.platform.config.analytics.agent.enabled=true
elastic.apm.mule.capture_output_properties_regex=(.
)

Any ideas? I feel I'm missing something simple. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions