Splunk AppDynamics

Cannot push traces through OpenTelemetry into AppDynamics

Piotr_Wera
New Member

Hi AppDynamics 🙂
My problem is that I cannot push traces through OpenTelemetry into AppDynamics. I was trying to use two different collectors, but error message was the same. 
My license is Lite.

Errors for the specific collectors:

docker image collector: otel/opentelemetry-collector-contrib-dev:latest
otel-collector      | 2022-10-09T22:08:20.436Z  info    exporterhelper/queued_retry.go:215      
Exporting failed. Will retry the request after interval.        
{"kind": "exporter", "name": "otlphttp", "error": "error exporting items, request to https://fra-sls-agent-api.saas.appdynamics.com/v1/traces responded with HTTP Status Code 403", "interval": "44.029649035s"}



docker image collector: appdynamics/appd-oc-otel-collector
otel-collector      | 2022-10-09T22:24:01.307Z  info    exporterhelper/queued_retry.go:231      
Exporting failed. Will retry the request after interval.        
{"kind": "exporter", "name": "otlphttp", "error": "error exporting items, request to https://fra-sls-agent-api.saas.appdynamics.com/v1/traces responded with HTTP Status Code 403", "interval": "4.688570936s"}
 
 

Collector settings:
image.png
My server lives on DigitalOcean, Amsterdam region. Do I need to move it to Frankfurt?
Thanks 🙂

Tags (2)
0 Karma

iamryan
Community Manager
Community Manager

Hello everyone,

To dive further into this issue, please send me a Private Message with this info

Controller host   
     Example: "best-customer.saas.appdynamics.com"
Controller port
     Example: 443
Account name
     Example: "best-customer"
     Can be found in the controller via: Gear → "License" → "Account" → "Name"
Account access key
     Example: "abc1234-ab12-cd34-ef56-abcdef123456"
     Can be found in the controller via: Gear → "License" → "Account" → Access Key "Show"
     Always use https://privatebin.ops.appdynamics.com/ to send customer access keys!
Service type:
      Example: "ot-csaas" or "serverless"
      Determines whether the customer is on-boarding for OpenTelemetry for CSaaS or Serverless.

I will then share this with the right team and get back to you.

0 Karma

Gopal_Abbineni
New Member

Did you find any solution?

I am getting unsupported media type 415 error while using traces API.

image.png

0 Karma

Sly_Gryphon
New Member

Did you find a solution for this?

I found another post with the same 403 Forbidden issue: https://community.appdynamics.com/t5/General-Discussions/HTTP-403-when-pushing-OpenTelemetry-Metrics...

The solution suggested in that thread is to only send traces, and not metrics -- which is what I am doing (only sending traces), and from the configuration in the original post it is only configured to send traces as well.

0 Karma

Sly_Gryphon
New Member

The FAQ article does not mention 403 errors at all, so is no help.

I am getting the same issue, I am getting a 403 (Forbidden) response when trying to sent OpenTelemetry. In my case the endpoint from the setup screen was https://pdx-sls-agent-api.saas.appdynamics.com/ , however I an in Australia, so I also tried  https://syd-sls-agent-api.saas.appdynamics.com/ and got the same response.

As it seems like a permission/auth thing, I also tried with the x-api-key having a wrong value and blank, and both got the same response

0 Karma

iamryan
Community Manager
Community Manager

Hi @Piotr.Wera,

Thanks for asking your question on the Community. I wanted to share this Community Knowledge base article we have. Please let me know if it helps.

https://community.appdynamics.com/t5/Knowledge-Base/OpenTelemetry-FAQ/ta-p/47217

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...