DataDog / datadog-agent

Main repository for Datadog Agent
https://docs.datadoghq.com/
Apache License 2.0
2.73k stars 1.17k forks source link

[ASCII-1924] Improve error printing and help messages in the Agent GUI #27198

Open misteriaud opened 4 days ago

misteriaud commented 4 days ago

What does this PR do?

This PR enhances the error messages displayed to the customer for scenarios such as invalid token, session expired, or Agent unreachable.

Here is an example of the page displayed to the user when logged out: Screenshot 2024-07-02 at 11 19 36

Motivation

This PR aims to provide better information in case of errors when using the GUI.

Describe how to test/QA your changes

pr-commenter[bot] commented 4 days ago

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv create-vm --pipeline-id=38485419 --os-family=ubuntu

Note: This applies to commit f84ed81d