Skip to content

[🚀 Feature]: [dotnet] Support Activity monitoring #17967

Description

@nvborisenko

Description

https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource?view=net-11.0-pp

Low-level libraries like Selenium are able to emit information about commands/events. Selenium can support it for free, "one line" code.

Motivation

When I started to contribute, I continuosly was creating "helper projects" to see how fast Selenium is. We can do it built in easily.

Implementation

  • Easy
  • No extra dependencies
  • Need to decide what we want to emit as "events"
  • No performance penalty

Example

I successfully introduced it in https://github.com/nvborisenko/selenium.webdriver.bidi.cdp

Image

Have you considered any alternatives or workarounds?

Currently only via internal logging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-dotnet.NET BindingsI-enhancementSomething could be betterR-help wantedIssues looking for contributions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions