Rankings
See which features carry the most carbon.
- 1Product search7.07 kg
- 2Feed rendering4.46 kg
- 3Checkout3.16 kg
- 4Image upload2.42 kg
Est. CO₂e · last 30 days
Estimated carbon and energy for every feature you ship, next to the calls behind it.
Why carbon
How it works
Install @codensity/node and wrap the work you care about. Your function's return value passes through unchanged, and events are batched in the background.
import { CodensityClient } from "@codensity/node";
const codensity = new CodensityClient({
key: process.env.CODENSITY_KEY,
environment: "production",
});
export async function checkoutFlow(cart) {
return codensity.track("checkout-flow", () => processCart(cart));
}The first event creates the feature for you, with a readable name taken from its key.
track("checkout-flow", …)FeaturesAcme Shop · Production
search-queryActivefeed-renderActivecheckout-flowNewEvery feature gets its calls, energy and carbon estimates by day, so a change in the line has a name attached.
30 days agoToday
In the product today
Rankings
Est. CO₂e · last 30 days
Dormant features
legacy-exportNo telemetry in 30 dayspromo-banner-v1No telemetry in 30 daysCandidates to archive, or code to remove.
Structure
search-querycheckout-flowimage-uploadPlain units
Integrations
Get started