pyroscope-java icon indicating copy to clipboard operation
pyroscope-java copied to clipboard

Deprecate authToken

Open marcsanmi opened this issue 5 months ago • 0 comments

Problem

When using the authToken for Grafana Cloud, users encounter a confusing error message:

[ERROR] upload profile: failed to upload. server responded with statusCode: '401' and body: '{"status":"error","error":"authentication error: legacy auth cannot be upgraded because the host is not found"}'

Solution

We should deprecate the use of authToken for authentication in Grafana Cloud.

Warn users if authToken is specified and the URL is not pointing to the OG Pyroscope Cloud.

marcsanmi avatar Sep 06 '24 09:09 marcsanmi