grafana / grafana/pyroscope-java

Deprecate authToken

Open
#161 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
126
Forks
48
Avg merge
4d 14h
Merged PRs (30d)
5

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.