grafana / grafana/pyroscope-java

Deprecate authToken

オープン
#161 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
126
フォーク
48
平均マージ
4日 14時間
マージ済み PR(30日)
5

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
authentication, cloud
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。