You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc184e7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(integration): connect Logfire with a project key and an organization key (#88)
Logfire issues the query scope on a key tied to one project and the
notification-channel scope on an organization key, so the API connect
body for Logfire takes both (coreplanelabs/nominal#2507). The CLI had no
Logfire flow at all while the catalog already advertised it.
Add a logfire type modeled on the Grafana flow: two secret steps quoting
the literal Logfire dashboard labels for each key, a new
--organization-api-key flag next to --api-key, and a trimmed pair helper
that names the missing flag in non-interactive runs. Region is left to
the API, which reads it from the key prefix.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
'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.',
1031
+
link: 'https://logfire.pydantic.dev',
1032
+
linkLabel: 'Open Logfire',
1033
+
},
1034
+
(v)=>{
1035
+
apiKey=v;
1036
+
}
1037
+
),
1038
+
secretStep(
1039
+
config,
1040
+
args,
1041
+
'organizationApiKey',
1042
+
'--organization-api-key',
1043
+
{
1044
+
message: 'Logfire organization API key',
1045
+
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.',
{flag: '--site <site>',description: 'Datadog site (e.g. us5.datadoghq.com)',type: 'string'},
1137
1193
{flag: '--region <region>',description: 'Honeycomb (us|eu), Axiom (us-east-1|eu-central-1; detected from the token if omitted) or Mixpanel (us|eu|in)',type: 'string'},
0 commit comments