grafana / grafana/pyroscope-java

Deprecate authToken

Offen
#161 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
126
Forks
48
Ø Merge
4 T. 14 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Locate the Java integration's authToken configuration and authentication validation, then trace how the service URL is handled. Add a warning when authToken is used with a URL other than the OG Pyroscope Cloud, and confirm the warning addresses the confusing Grafana Cloud authentication case described in the issue.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
authentication, cloud
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.