Skip to content

Commit 2762e14

Browse files
nwm-54claude
andauthored
fix(integration): quote the Security & access menu in the Logfire prompts (#90)
Logfire's dashboard has no "API keys" menu; both the project and the organization settings expose keys under "Security & access". The project key also needs "Manage project and org" ticked alongside "Read-only access", or the data plane rejects it. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1 parent f7fc034 commit 2762e14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/commands/integration/connect.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const TYPE_OPTIONS: Array<{ value: ConnectableType; label: string; hint: string;
7474
{ value: 'betterstack', label: 'Better Stack', hint: 'global, Uptime and Telemetry tokens', category: 'observability' },
7575
{ value: 'openstatus', label: 'OpenStatus', hint: 'workspace API key', category: 'observability' },
7676
{ value: 'grafana', label: 'Grafana Cloud', hint: 'stack URL + service account token', category: 'observability' },
77-
{ value: 'logfire', label: 'Logfire', hint: 'project + organization API keys', category: 'observability' },
77+
{ value: 'logfire', label: 'Logfire', hint: 'project + organization keys', category: 'observability' },
7878
{ value: 'mixpanel', label: 'Mixpanel', hint: 'service account + project ID', category: 'product-analytics' },
7979
{ value: 'devin', label: 'Devin', hint: 'API key · coding agent', category: 'code-agent' },
8080
{ value: 'cursor', label: 'Cursor', hint: 'API key · coding agent', category: 'code-agent' },
@@ -1027,7 +1027,7 @@ async function connectWithCredentials(
10271027
{
10281028
message: 'Logfire project API key',
10291029
instructions:
1030-
'In Logfire, open your project, then Project settings > API keys > New API key. Check Read-only access, keep Key type as Project, then Create API key. Agents use it to query the traces and metrics of this project. The key starts with pylf_ and the region (US or EU) is read from its prefix.',
1030+
'In Logfire, open your project, then Project settings > Security & access > New API key. Check both Read-only access and Manage project and org, keep Key type as Project, then Create API key. Agents use it to query the traces and metrics of this project. The key starts with pylf_ and the region (US or EU) is read from its prefix.',
10311031
link: 'https://logfire.pydantic.dev',
10321032
linkLabel: 'Open Logfire',
10331033
},
@@ -1043,7 +1043,7 @@ async function connectWithCredentials(
10431043
{
10441044
message: 'Logfire organization API key',
10451045
instructions:
1046-
'From Project settings choose Go to org settings, then API keys > New API key. Check Read-only access and Manage project and org, set Key type to Organization, then Create API key. Polylane uses it to add its notification channel to the alerts of this project, so it hears about a problem the moment an alert fires. The same organization key works for every project in the organization.',
1046+
'From Project settings choose Go to org settings, then Security & access > New API key. Check Read-only access and Manage project and org, set Key type to Organization, then Create API key. Polylane uses it to add its notification channel to the alerts of this project, so it hears about a problem the moment an alert fires. The same organization key works for every project in the organization.',
10471047
link: 'https://logfire.pydantic.dev',
10481048
linkLabel: 'Open Logfire',
10491049
},

0 commit comments

Comments
 (0)