cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot push traces through OpenTelemetry into AppDynamics

Piotr.Wera
New Poster

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:
appd1.png
My server lives on DigitalOcean, Amsterdam region. Do I need to move it to Frankfurt?
Thanks

 

5 REPLIES 5

Ryan.Paredez
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


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

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

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.

 

Gopal.Abbineni
Creator

Did you find any solution?

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

GopalAbbineni_0-1669629835945.png

Ryan.Paredez
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.


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.