Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation guidance for developers #7048

Open
ljcarot opened this issue Mar 7, 2025 · 3 comments
Open

Instrumentation guidance for developers #7048

ljcarot opened this issue Mar 7, 2025 · 3 comments
Assignees
Labels
adopter: strategic-products Issues that support work from LTV/LTV-adjacent products area: plg ✨ Product-led growth, includes novice to pro Epic
Milestone

Comments

@ljcarot
Copy link
Member

ljcarot commented Mar 7, 2025

Per Adam Case:

Problem Statement

The current CIO documentation for instrumentation lacks clarity and direction, making it difficult for developers to understand how to instrument features correctly. This leads to a low adoption rate of instrumentation, resulting in incomplete or inaccurate data, which hinders product decision-making. By providing a clear and concise guide on instrumentation in context with Carbon components, we can be opinionated on what best practices there are on instrumentation and can empower developers to easily find and instrument features, leading to increased adoption rates and better product telemetry.

Product Outcomes & Instrumentation

Adoption Rate: Measure the number of features instrumented by developers within a set timeframe.
Time to instrument: Measure the time it takes for developers to instrument a feature after being introduced to the guide.

Assumptions

  • Developers are the main focus here, and will use the guide to get started with instrumentation rather than the CIO site.
  • This may be duplicative work, but I assume that our contributions to this effort will be contributed back to the CIO sites.
  • This will live on our Carbon for IBM Products site.
  • This should be cross linked with Winning Products and published widely on engineering sites.
  • We are basically recreating this site for ourselves
  • Use our relationship with Guardium to get this documented.
  • Use contacts Hima Chintalapati and Corinne Leopold for technical contacts

Requirements

  1. Developers needs to easily find the instrumentation guide so that they can start instrumenting features from the main Carbon for IBM Products site.
  2. Developers needs to understand how to get started with instrumentation, focusing on front-end instrumentation requirements first but also consider back-end instrumentation too, and what required properties they need to have in place.
  3. Developers needs to understand how to integrate the code snippets into their code (focus on React and Javascript frameworks)
  4. In the guide, developers needs to find the instrumentation code snippets easily by component (first starting with "What's new modal components".) (for example, if we use a close out button, what is the corresponding track event snippet that should be included in the onPress event)
  5. In the guide, developers and product managers need to know how the instrumentation schema manifests in Amplitude (make it clear how what is shared with Segment looks like in Amplitude)

Note: Approach this as if you were telling someone how to properly instrument their site from a developer experience point of view. This needs to be DEAD simple for a developer to pick up and go. I don't want teams to go: where do you want me to start?.

Bonus: Consider how we could make this repeatable across components so it could be just a prop or simple addition to each component rather than including the event each time.

Resources

I essentially want to approach this like a developer experience for front-end instrumentation (for the first pass). This screenshot is from our own getting started. We do this so well today, let's make it simple for them despite us not owning Segment.
Image

@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products Mar 7, 2025
@ljcarot ljcarot added Epic area: plg ✨ Product-led growth, includes novice to pro Carbon Labs: React adopter: strategic-products Issues that support work from LTV/LTV-adjacent products and removed status: needs triage 🕵️‍♀️ labels Mar 7, 2025
@ljcarot ljcarot moved this from Needs triage 🧐 to Needs refinement 🤓 in Carbon for IBM Products Mar 7, 2025
@ljcarot ljcarot assigned ajcase and unassigned jlongshore and cameroncalder Mar 7, 2025
@ajcase

This comment has been minimized.

@ljcarot ljcarot moved this from Needs refinement 🤓 to Backlog 🌋 in Carbon for IBM Products Mar 8, 2025
@ljcarot ljcarot added this to the 2025 1H milestone Mar 8, 2025
@ljcarot ljcarot moved this from Backlog 🌋 to Needs refinement 🤓 in Carbon for IBM Products Mar 8, 2025
@ljcarot
Copy link
Member Author

ljcarot commented Mar 8, 2025

I moved it to needs refinement so it can be broken down into smaller tasks on next Refinement call which is Mar. 19.

@ljcarot ljcarot changed the title Instrumentation guidance for What's New componentry Instrumentation guidance for What's New pattern Mar 8, 2025
@ljcarot ljcarot modified the milestones: 2025 1H, 2025 Q1 Mar 11, 2025
@elycheea
Copy link
Contributor

elycheea commented Mar 11, 2025

Notes from discussion with @jlongshore @ajcase @ljcarot.

Considerations

  • Are we assuming teams have already onboarded to Segment? Seems like this has been
  • More freedom to include instrumentation details in internal IBM Products site than Core site
  • How can we be selective about what teams are actually instrumenting and how teams are making use of the data?

Tasks


  • Add best practices to the component/pattern page
    • Work with Liz to find a good start/stop event that we might want to start documenting for instrumentation first
    • Is this a separate Instrumentation tab? Or part of the Code tab?

The goal

Developer can instrument patterns/components with minimal setup.

Sorry, something went wrong.

@ljcarot ljcarot moved this from Needs refinement 🤓 to In progress in Carbon for IBM Products Mar 11, 2025
@ljcarot ljcarot changed the title Instrumentation guidance for What's New pattern Instrumentation guidance for developers Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adopter: strategic-products Issues that support work from LTV/LTV-adjacent products area: plg ✨ Product-led growth, includes novice to pro Epic
Projects
Status: In progress
Development

No branches or pull requests

5 participants