Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-28-2022 02:40 AM
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
Solved! Go to Solution.
10-28-2022 09:08 AM
Hi @Kjell.Lönnqvist,
Thanks for asking your question on the Community.
Here is some documentation you can check out.
Let me know if this helps!
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.
11-03-2022 01:45 AM
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.
11-04-2022 09:53 AM
Hi @Kjell.Lönnqvist,
Thanks for letting me know. Let's see if the community can jump in and help out.
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.
11-07-2022 10:45 AM
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
11-08-2022 02:27 AM
Thanks! I'll change app to take this into consideration
11-17-2022 02:51 AM
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...
06-01-2023 08:05 AM
Hi
Has anyone found a solution to this. Please let me know
Thanks
Basit
06-05-2023 02:14 PM
Hi @Basit.Amjad, there is a marked solution above from @Severin.Neumann. Have you tried it?
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.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form