Splunk AppDynamics

HTTP 403 when pushing OpenTelemetry Metrics into AppDynamics

Kjell_Lönnqvist
Explorer

 Trying to use the opentelemetry collector opentel-contrib to collect and push metrics into appdynamics. And I get the 403 forbidden in the debug log when calling  the URL https://pdx-sls-agent-api.saas.appdynamics.com/v1/metrics

 Checked the following so far:

  service.namespace  = the name of the application
 service.name = name of the Tier I've created in in AppDynamics

In the confing.yml I have the following set up

exporters:
  otlphttp:
    endpoint: "https://pdx-sls-agent-api.saas.appdynamics.com"
    headers: {"x-api-key": "<key_copied_from_the_otel_page_in_appdynamics>"}
  logging:
    loglevel: debug

 Any tips on where to go next?  Is there any documentation on which endpoint exists and does the type of the Tier affect anything?

br
Kjell

Tags (1)
0 Karma
1 Solution

Severin_Neumann
Explorer

Hi @Kjell.Lönnqvist ,

Trying to use the opentelemetry collector opentel-contrib to collect and push metrics into appdynamics.

as of now AppDynamics For OpenTelemetry only supports the ingestion of traces, metrics are not yet supported, I assume this might be the issue here. Have you tried to feed traces as well?

Severin 

View solution in original post

iamryan
Community Manager
Community Manager

Hi @Basit.Amjad, there is a marked solution above from @Severin.Neumann. Have you tried it?

0 Karma

Basit_Amjad
New Member

Hi 

Has anyone found a solution to this. Please let me know

Thanks

Basit

0 Karma

Sly_Gryphon
New Member

Any luck with this? 

I am also getting 403 Forbidden, and am only sending Traces (no logs or metrics configured, only traces).

Forbidden seems like an authentication issue (in fact I get the same response if I change/remove the x-api-key).

The issue is also mentioned by another post: https://community.appdynamics.com/t5/General-Discussions/Cannot-push-traces-through-OpenTelemetry-in...

0 Karma

Kjell_Lönnqvist
Explorer

Thanks! I'll change app to take this into consideration

0 Karma

iamryan
Community Manager
Community Manager

Hi @Kjell.Lönnqvist,

Thanks for letting me know. Let's see if the community can jump in and help out. 

0 Karma

Severin_Neumann
Explorer

Hi @Kjell.Lönnqvist ,

Trying to use the opentelemetry collector opentel-contrib to collect and push metrics into appdynamics.

as of now AppDynamics For OpenTelemetry only supports the ingestion of traces, metrics are not yet supported, I assume this might be the issue here. Have you tried to feed traces as well?

Severin 

iamryan
Community Manager
Community Manager
0 Karma

Kjell_Lönnqvist
Explorer

 Hi
 Looked into those and still get the UnAuthorized error. Is there an easy URL I can test using PostMan to see if the api-keys etc are working? The message is OK I have the correct namespace and name i.e. matching the application and the tier.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...