cloudflare / cloudflare/foundations

Telemetry config generated on Linux platforms does not work on non-Linux platforms on 4.0

Open
#84 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
133
Avg merge
1d 5h
Merged PRs (30d)
11

Description

If you use `foundations`' built-in telemetry settings to generate your application config, the memory profiler options are only included if the package is built for Linux. This didn't previously cause issues, but since 4.0 made it an error to include unknown config fields, running the service on non-Linux OSes such as macOS cause these configs to error.

Given that common development workflows may involve a mix of running an application on Docker and natively on e.g. macOS, it would probably be better if these options were just ignored when not applicable; potentially with a warning message indicating they have no effect.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.