getsentry / getsentry/sentry

Automatic metric naming from code

Open
#107,925 4 comments 0 reactions 0 assignees View on GitHub
Product Area: Explore
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

It would be nice if recording metrics didn’t always require coming up with a name. Instead of passing a string, you could record a metric based on where it’s called from in the code. The SDK would capture the call site, and Sentry could de-obfuscate it using source maps to show the real function or location.

### Solution Brainstorm

_No response_

### Product Area

Explore

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points to inspect. Begin by clarifying which SDKs and metric APIs are in scope, how call sites should be captured, and how source-map de-obfuscation should work; the work is done when those decisions are specified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.