question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add new Contexts fields to spec and UI

See original GitHub issue

Add missing Contexts (device, app, etc) to sdk spec and Sentry UI:

Example: image

The spec should specify the unit (Mb, Celcius). Sentry’s UI can display the unit in such cases, for example

image

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marandanetocommented, Apr 22, 2021

removed the Android tag though, a Desktop App. could use the same fields

1reaction
bruno-garciacommented, Apr 21, 2021

I’m afraid of it going to that repo to die. Since we’re adding these new fields here (and on unity and other SDKs) we could drive the initiative from here. We can move it there, perhaps create a single issue for all the known fields we’ve come up lately on the Mobile team’s SDKs. Maybe best to discuss on a grooming call?

Adding to the spec has the advantage of becoming a guideline for other SDKs and being the source of truth when it comes to adding proper support in the UI. Specifically a label (so a nice name shows up as opposed to just_the_key and also allowing for things like the unit being known, as we did for bytes values, and timestamps (X minutes before this event). So we can show Temperature: 45c and even a future feature that add a conversion to Fahrenheit. Or reads which metrics you prefer from your users settings and adjusts such things across Sentry.

Now I’m really ahead of myself but we could start by adding the field to the protocol 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a context to a custom field - Atlassian Support
To add a new context: Select > Issues. Under FIELDS, select Custom fields. Find the custom field you want to configure and select...
Read more >
How to Create a User Interface Specification - Bridging the Gap
A user interface specification blends software requirements and design for information-rich pages within an application.
Read more >
Accessing UI Context and Non UI Context Object Instances
System fields, like Id, Created, Created By; Fields exposed in the UI; Fields with Force Active property = True. Fields with Link Spec...
Read more >
Text fields - Material Design
Text fields allow users to enter text into a UI. They typically appear in forms and dialogs. Principles. Discoverable.
Read more >
Contexts Interface | Sentry Developer Documentation
When adding additional data to the event data model contexts are a good fit when you have all the data available at a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found