Skip to content

Add resource_attributes and resource_detectors options to logfire.configure - #2012

Merged
alexmojaki merged 33 commits into
mainfrom
resource-detectors
Jun 18, 2026
Merged

alexmojaki merged 33 commits into
mainfrom
resource-detectors

Conversation

@dmontagu

@dmontagu dmontagu commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Context

The (beta) Hosts view needs the host.name resource attribute to associate telemetry with a machine, and more generally there was no programmatic way to shape resource attributes from logfire.configure() — the only options were the OTEL_RESOURCE_ATTRIBUTES / OTEL_EXPERIMENTAL_RESOURCE_DETECTORS env vars.

This PR builds on #2013 (now merged), which pre-populates host.*/os.*/process.runtime.* by default so machines show up in the Hosts view out of the box, and adds first-class, programmatic control over the resource.

What this PR adds

  • resource_attributes (top-level logfire.configure() argument): a static mapping of extra resource attributes, e.g. to override the auto-detected host.name or add custom attributes — a programmatic alternative to OTEL_RESOURCE_ATTRIBUTES.
  • resource_detectors (on AdvancedOptions): OpenTelemetry resource detectors to run when building the resource. Each item is a ResourceDetector instance or the name of a detector registered under the standard opentelemetry_resource_detector entry-point group (so third-party detector packages work too). opentelemetry-sdk provides 'os', 'host', and 'process'; the special name '*' runs every registered detector. Since os.*/host.* are already populated by default, 'process' is the main one you'd add.
  • Both are also configurable via environment variables (LOGFIRE_RESOURCE_ATTRIBUTES, LOGFIRE_RESOURCE_DETECTORS) and pyproject.toml under [tool.logfire].
import logfire

logfire.configure(
    resource_attributes={
        'host.name': 'my-meaningful-host-name',  # override an auto-detected attribute
        'datacenter.region': 'eu-west-1',         # and/or add arbitrary custom attributes
    },
    advanced=logfire.AdvancedOptions(resource_detectors=['process']),  # add process.* attributes
)
logfire.instrument_system_metrics()

Precedence

Resource attributes are merged from lowest to highest precedence:

  1. Auto-detected defaults — process.runtime.*, host.*, os.*, a random service.instance.id, and the git-hash service.version fallback. These deliberately sit below the env vars so they can be overridden.
  2. Env vars — OTEL_RESOURCE_ATTRIBUTES and OTEL_EXPERIMENTAL_RESOURCE_DETECTORS (applied by Resource.create).
  3. The resource_detectors argument.
  4. Explicit logfire.configure() attributes — resource_attributes, service_name/service_version/environment, etc.

So explicit logfire.configure() settings win over everything, the resource_detectors argument beats the env-var detectors, and OTEL_RESOURCE_ATTRIBUTES still overrides the auto-detected defaults (e.g. a customer whose socket.gethostname() is a useless container ID can override host.name cleanly).

Design notes

  • Detectors are run via the OTel SDK's public get_aggregated_resources() plus entry-point loading, rather than writing env vars — there's a clean programmatic path, so no global-state mutation, and ResourceDetector instances are supported, not just names.
  • An unknown detector name (or one that fails to load) emits a LogfireConfigWarning and is skipped rather than raising, so a typo can never crash the app — matching OTel's tolerant handling of the env var.
  • The git-hash service.version fallback is now resolved in _initialize (where the resource is built) instead of _load_configuration (which runs at import). This removes a git subprocess call on import logfire, keeps the git hash as a low-precedence fallback that OTEL_RESOURCE_ATTRIBUTES can override, and — because it's never stored on the config — means child processes (ProcessPoolExecutor) re-detect it as a fallback rather than treating it as an explicit value.
  • resource_detectors lives on AdvancedOptions because it's a niche option (the common os/host attributes are populated by default), while resource_attributes stays top-level since overriding host.name / adding custom attributes is a common need.

Platform-side note (not addressed here): the default base='basic' config doesn't emit system.cpu.utilization — its CPU metric is the logfire-specific system.cpu.simple_utilization, which the Hosts page queries don't currently include — so basic-config hosts appear (via system.memory.utilization) but with an empty CPU column.

Docs

  • System metrics integration page restructured: the Hosts view sits alongside the dashboard recommendation, with a focused "Customising resource attributes" note.
  • Cross-links between the Hosts page and the system-metrics integration.
  • Resource-attribute configuration documented under the SQL reference otel_resource_attributes column.

Checklist

  • Tests: both new options (instances, names, '*', bare-string coercion, unknown-name warning, precedence vs env vars, env var + pyproject.toml), default host/os population and env-var override, git-hash fallback + serialization to child processes.
  • logfire-api shim needs no changes (its configure accepts **kwargs; .pyi stubs are regenerated at release).

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

cubic-dev-ai[bot]

This comment was marked as resolved.

Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
dmontagu added 2 commits June 12, 2026 11:48
…tor precedence

- Coerce a bare-string resource_detectors into a single-element list (e.g.
  'host' -> ['host']) instead of raising, per review feedback.
- Give OTEL_EXPERIMENTAL_RESOURCE_DETECTORS the lowest precedence: detectors
  passed explicitly via resource_detectors now override the env-var ones,
  while explicit attributes still win over both. Build the resource in three
  layers (env detectors < resource_detectors < explicit attributes).
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread docs/integrations/system-metrics.md Resolved
Address review feedback (alexmojaki):
- Remove the manual OTEL_RESOURCE_ATTRIBUTES re-parse. logfire.configure()
  attributes (service_name/version/environment, resource_attributes) now take
  precedence over OTEL_RESOURCE_ATTRIBUTES, and resource_detectors over
  OTEL_EXPERIMENTAL_RESOURCE_DETECTORS. This aligns with the OTel spec for
  OTEL_SERVICE_NAME (which now overrides service.name in OTEL_RESOURCE_ATTRIBUTES).
- Keep the auto-detected git-hash service.version as a low-precedence fallback
  so it doesn't override an explicit OTEL_RESOURCE_ATTRIBUTES service.version.
- Route resource_attributes/resource_detectors through param_manager.load_param,
  adding LOGFIRE_RESOURCE_ATTRIBUTES / LOGFIRE_RESOURCE_DETECTORS env vars and
  pyproject.toml support (dict[str,str] casting in ParamManager).

Updates docs/docstrings and tests accordingly.
Comment thread logfire/_internal/config.py Resolved
dmontagu added 5 commits June 12, 2026 14:19
Per review feedback (alexmojaki + dmontagu):
- An unknown resource detector name (from the resource_detectors kwarg, the
  LOGFIRE_RESOURCE_DETECTORS env var, or pyproject.toml) now emits a
  LogfireConfigWarning and is skipped rather than raising, so a typo can never
  crash the application. Matches OTel's tolerant handling of the env var.
- Add the '*' name, which expands to every registered detector (except 'otel'),
  matching OTEL_EXPERIMENTAL_RESOURCE_DETECTORS.
- Docs/docstring: lead with the 'process' detector example (host/os attributes
  are slated to be auto-set by the SDK in #2013) and document the new behaviour.
# Conflicts:
#	logfire/_internal/config.py
#	tests/test_configure.py
devin-ai-integration[bot]

This comment was marked as resolved.

serialize_config() drops the git-detected service_version so child
processes re-detect it as a low-precedence fallback, instead of treating
it as explicit and overriding OTEL_RESOURCE_ATTRIBUTES (Devin review).
Comment thread docs/integrations/system-metrics.md Resolved
Comment thread logfire/_internal/config.py Resolved
Refocus the section on the host.* attributes populated by default (and
customizing host.name for the Hosts view), link to the Hosts page, and
defer the resource_detectors/env-var reference detail to the
logfire.configure() docstring (Alex review).
Comment thread logfire/_internal/config.py Resolved
Comment thread docs/reference/sql.md Resolved
Comment thread docs/reference/sql.md Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread tests/test_configure.py Outdated
'api_key': False,
'service_name': False,
'service_version': True,
'service_version': False,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did this change

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side effect of moving the git-hash service_version detection out of _load_configuration into _initialize (the refactor from the "this dance feels messy" thread). The git hash is no longer stored on the config object, so config.service_version is None when nothing was set explicitly, and this span field — bool(config.service_version) — now reflects whether a service_version was explicitly set rather than "a value exists including the git fallback". That is arguably the more useful signal, but happy to compute it differently (e.g. off the built resource) if you would rather it keep the old meaning.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can _initialize set self.service_version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — _build_resource() now stores the git-hash fallback back on self.service_version (so the configuration span field and serialization reflect it again), while still applying it via the low-precedence fallback_resource_attributes so OTEL_RESOURCE_ATTRIBUTES keeps winning within the process. Updated test_configure_service_version and test_auto_detected_service_version_serialized to match, and the config-span snapshot back to service_version: True.

- Dedicated service_name/service_version/environment args now take precedence over
  the same keys set generically via resource_attributes (Alex review).
- system-metrics docs: fix the dashboard instructions (the Basic System Metrics
  dashboard is a read-only standard dashboard, not customisable) and point to the
  Hosts view, Metrics explorer, Dashboards and Explore surfaces (Alex review).
- SQL reference: expand the otel_resource_attributes section with code examples and a
  precise highest-to-lowest precedence list (Alex review).
- Link to the OTel resource-detectors docs from the AdvancedOptions docstring (Alex review).
Comment thread docs/reference/sql.md Outdated
Comment on lines +292 to +294
1. Attributes set explicitly in `logfire.configure()`: `resource_attributes`, and the dedicated `service_name` / `service_version` / `environment` arguments (which override the same keys set via `resource_attributes`).
2. The `resource_detectors` argument.
3. The standard `OTEL_RESOURCE_ATTRIBUTES` and `OTEL_EXPERIMENTAL_RESOURCE_DETECTORS` environment variables — also the mechanism used by other OpenTelemetry SDKs, e.g. `OTEL_RESOURCE_ATTRIBUTES=service.name=my-service,service.version=1.0.0`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split 1 and 3 into pairs of items, also mention the LOGFIRE_ env vars

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 6d6983f — split into one item per layer (dedicated args > resource_attributes > resource_detectors > OTEL_RESOURCE_ATTRIBUTES > OTEL_EXPERIMENTAL_RESOURCE_DETECTORS > defaults), noted the LOGFIRE_* env var / pyproject.toml equivalents for the first three, and added a line that items 4-5 are handled by OTel Resource.create (so OTEL_RESOURCE_ATTRIBUTES beating the env-var detectors matches stock OTel).

alexmojaki and others added 5 commits June 15, 2026 18:58
…ce list

- Restore the 'TODO use ProcessResourceDetector?' comment in common_resource_attributes (Alex review).
- SQL reference: split the precedence list to one item per layer and note the LOGFIRE_*/pyproject
  equivalents; make explicit that OTEL_RESOURCE_ATTRIBUTES > OTEL_EXPERIMENTAL_RESOURCE_DETECTORS is
  handled by OpenTelemetry's Resource.create (so it matches stock OTel) (Alex review).
You can also query the metrics directly in the [Explore](../guides/web-ui/explore.md) view via the `metrics`
table (see the [SQL reference](../reference/sql.md)).

## Customising resource attributes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now this section can just very briefly mention host.name and then link to the SQL reference (with an anchor) which has plenty of detail.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — trimmed this section to a one-line pointer (set a clearer host.name, or add other attributes such as process.*/cloud metadata) linking to the SQL reference #resource-attributes anchor, and dropped the redundant code sample.

Comment thread docs/guides/web-ui/hosts.md Outdated

### From a Python application

If your workload is a Python app already using Logfire, you can emit system metrics directly from the SDK with [`logfire.instrument_system_metrics()`](../../integrations/system-metrics.md) instead of (or alongside) running a collector. Logfire pre-populates the `host.name` resource attribute (overridable via `resource_attributes`), so the app's host shows up here automatically.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link to sql reference

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — added a link to the SQL reference next to the resource_attributes mention.

Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Resolved
Comment thread logfire/_internal/config.py Outdated
}
if self.service_name:
# When unset, `Resource.create` below applies its own `unknown_service` default.
otel_resource_attributes['service.name'] = self.service_name

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emit a warning when any of the specific arguments like service_name overrides self.resource_attributes. do it in a DRY way.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — _build_resource() collects the dedicated args into a dedicated_attributes dict and warns once per key (single loop) when it overrides a different value the user also set via resource_attributes. Covered by the updated test_dedicated_args_take_precedence_over_resource_attributes.

Comment thread logfire/_internal/config.py Outdated
# Explicit `logfire.configure()` attributes (logfire's own plus the `resource_attributes`
# argument) take precedence over everything detected above, including the env vars
# `OTEL_RESOURCE_ATTRIBUTES` and `OTEL_EXPERIMENTAL_RESOURCE_DETECTORS`.
resource = resource.merge(Resource(otel_resource_attributes))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the whole resource construction to a method

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — extracted the whole resource construction into LogfireConfig._build_resource(); _initialize now just does resource = self._build_resource().

Comment thread logfire/_internal/config.py Outdated
def _load_resource_detector_entry_point(entry_point: Any, result: list[ResourceDetector]) -> None:
try:
result.append(entry_point.load()())
except Exception as exc: # pragma: no cover

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the pragma needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — the pragma was hiding an untested branch. Removed it and added test_resource_detector_load_failure, which patches entry_points with a detector that raises on load and asserts the warning fires and configuration still succeeds.

Comment thread logfire/_internal/config.py Outdated
Comment on lines +2250 to +2252
def _load_resource_detector_entry_point(entry_point: Any, result: list[ResourceDetector]) -> None:
try:
result.append(entry_point.load()())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def _load_resource_detector_entry_point(entry_point: Any, result: list[ResourceDetector]) -> None:
try:
result.append(entry_point.load()())
def _load_resource_detector_entry_point(entry_point: Any):
try:
return entry_point.load()()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the type really unknown?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in faf8dd0 — _load_resource_detector_entry_point now returns ResourceDetector | None (callers append when non-None) instead of mutating a result list. And no, the type wasn't really unknown — annotated it as importlib.metadata.EntryPoint.

dmontagu added 3 commits June 16, 2026 02:01
… _build_resource

- _build_resource(): move the whole resource construction out of _initialize
  into a dedicated method (alexmojaki).
- Store the git-hash service_version fallback back on self.service_version so it's
  reflected in the configuration span and serialized to child processes, while
  keeping it a low-precedence default within the process (alexmojaki).
- Warn (DRY) when a dedicated argument (service_name/service_version/environment/
  code_source) overrides a different value also set via resource_attributes.
- _load_resource_detector_entry_point now returns the detector (typed EntryPoint)
  instead of mutating a list, and drops the no-longer-needed `# pragma: no cover`
  (covered by new test_resource_detector_load_failure).
- Link the resource_attributes / resource_detectors docstrings and the
  system-metrics / hosts docs to the SQL reference; trim the system-metrics
  "Customising resource attributes" section to a brief pointer.
@github-actions

github-actions Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Docs Preview

commit deb8b5e
preview https://9aad0b2f-pydantic-docs-preview.pydantic.workers.dev/logfire/

Re-add the trigger:docs label to rebuild for a newer commit.

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds resource_attributes: Mapping[str, Any] | None to logfire.configure() and LogfireConfig, and resource_detectors: Sequence[ResourceDetector | str] | None to AdvancedOptions. Both options are loadable from env vars (LOGFIRE_RESOURCE_ATTRIBUTES, LOGFIRE_RESOURCE_DETECTORS) and pyproject.toml. Resource construction is centralized in a new _build_resource() method with an explicit, documented precedence order. A new LogfireConfigWarning class enables tolerant handling of unknown or failed detectors. Corresponding config-param parsing, documentation (SQL reference, system-metrics integration, Hosts guide), and test coverage are included.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main addition: two new configuration options (resource_attributes and resource_detectors) for logfire.configure(), which are the primary focus of the PR.
Description check ✅ Passed The description comprehensively explains the context, the two new options, their usage, precedence rules, and design rationale, all directly related to the substantial changes across config files, documentation, and tests.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch resource-detectors

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
docs/reference/sql.md (1)

271-278: ⚡ Quick win

Document the resource detector wildcard syntax.

The '*' wildcard (which expands to all registered detectors except 'otel') is part of the public API per the PR objectives but isn't mentioned here. A brief example would help:

# Instead of listing individual detectors:
advanced=logfire.AdvancedOptions(resource_detectors=['process', 'host', 'os']),

# Run all registered detectors (except otel, which Resource.create handles):
advanced=logfire.AdvancedOptions(resource_detectors=['*']),
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/reference/sql.md` around lines 271 - 278, The documentation for the
logfire.configure() function with resource_detectors parameter is missing
information about the wildcard syntax. Add a documented example showing that the
`'*'` wildcard can be used in the resource_detectors list to automatically
include all registered detectors except 'otel', providing this as a convenient
alternative to manually listing individual detectors like 'process', 'host', and
'os'. Include a brief comment explaining that this wildcard expands to all
registered detectors.
tests/test_configure.py (1)

1073-1075: ⚡ Quick win

Strengthen this test by asserting entry_points() call arguments.

The patch currently returns a failing entry point for any call shape; asserting the call arguments will lock the test to the intended lookup contract.

Suggested fix
-    with patch('logfire._internal.config.entry_points', return_value=[FailingEntryPoint()]):
+    with patch('logfire._internal.config.entry_points', return_value=[FailingEntryPoint()]) as entry_points_mock:
         with pytest.warns(LogfireConfigWarning, match="Failed to load resource detector 'failing': boom"):
             configure(**config_kwargs)
+    entry_points_mock.assert_called_with(group='opentelemetry_resource_detector', name='failing')
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/test_configure.py` around lines 1073 - 1075, The test should verify not
only that the warning is raised but also that entry_points() is called with the
correct arguments. Currently, the patch will return the failing entry point for
any call shape. To strengthen the test, capture the mock object returned by the
patch on entry_points and add an assertion after the configure call to verify
that entry_points was called with the expected arguments (the group name for
resource detectors). This locks the test to validate the intended lookup
contract and ensures the code is calling entry_points correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/test_configure.py`:
- Around line 768-772: The test_configure_service_version function
unconditionally executes a git command via subprocess.check_output which will
fail if git is unavailable or the checkout is not a git repository, causing the
test to fail before reaching the actual feature assertions. Wrap the
subprocess.check_output call that retrieves the git SHA in a try-except block to
handle subprocess exceptions, and either skip the test gracefully using
pytest.skip when git is unavailable or provide a fallback value for the git_sha
variable. Apply the same fix to the other instance mentioned at line 1185 that
also calls git rev-parse HEAD.

---

Nitpick comments:
In `@docs/reference/sql.md`:
- Around line 271-278: The documentation for the logfire.configure() function
with resource_detectors parameter is missing information about the wildcard
syntax. Add a documented example showing that the `'*'` wildcard can be used in
the resource_detectors list to automatically include all registered detectors
except 'otel', providing this as a convenient alternative to manually listing
individual detectors like 'process', 'host', and 'os'. Include a brief comment
explaining that this wildcard expands to all registered detectors.

In `@tests/test_configure.py`:
- Around line 1073-1075: The test should verify not only that the warning is
raised but also that entry_points() is called with the correct arguments.
Currently, the patch will return the failing entry point for any call shape. To
strengthen the test, capture the mock object returned by the patch on
entry_points and add an assertion after the configure call to verify that
entry_points was called with the expected arguments (the group name for resource
detectors). This locks the test to validate the intended lookup contract and
ensures the code is calling entry_points correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a631efd1-9c7a-4ef5-9d46-08ba8aff456e

📥 Commits

Reviewing files that changed from the base of the PR and between 18c9c79 and c95257a.

📒 Files selected for processing (6)
  • docs/guides/web-ui/hosts.md
  • docs/integrations/system-metrics.md
  • docs/reference/sql.md
  • logfire/_internal/config.py
  • logfire/_internal/config_params.py
  • tests/test_configure.py

Comment thread tests/test_configure.py Resolved
@alexmojaki
alexmojaki merged commit 91f5225 into main Jun 18, 2026
18 checks passed
@alexmojaki
alexmojaki deleted the resource-detectors branch June 18, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants