Skip to content

[wasm-ep] Can't have both runtime and EventSource event providers in the same session #69568

Closed as not planned

Description

@lambdageek

Depends on #69567

Specifying both an EventSource and one of the runtime providers (e.g. "Microsoft-Windows-DotNETRuntime") on the same session only captures runtime events and not the EventSource events

Repro:

modify the browser-eventpipe sample and change

        const options = MONO.diagnostics.SessionOptionsBuilder
            .Empty
            .setRundownEnabled(false)
            .addProvider({ name: 'WasmHello', level: MONO.diagnostics.EventLevel.Verbose, args: 'EventCounterIntervalSec=1' })
            .build();

to

        const options = MONO.diagnostics.SessionOptionsBuilder
            .DefaultProviders
            .setRundownEnabled(true)
            .addProvider({ name: 'WasmHello', level: MONO.diagnostics.EventLevel.Verbose, args: 'EventCounterIntervalSec=1' })
            .build();

and collect a trace. note that there are no EventCounters events in the resulting .nettrace file.

Activity

  1. ghost added
    untriaged
    on May 19, 2022
  2. changed the title [-]Specifying both an EventSource and one of the runtime providers (e.g. <code class="notranslate">"Microsoft-Windows-DotNETRuntime"`) on the same session only captures runtime events and not the EventSource events[/-] [+][wasm-ep] Can't have both runtime and EventSource event providers in the same session[/+] on May 19, 2022
  3. added this to the 7.0.0 milestone on May 19, 2022
  4. ghost removed
    untriaged
    on May 19, 2022
  5. self-assigned this
    on May 19, 2022
  6. added
    arch-wasm
    on May 31, 2022
  7. removed their assignment
    on Jul 5, 2022
  8. radical commented on Aug 12, 2022

    @radical
    Member

    @lambdageek I'm assuming this should be moved to 8.0 .

  9. modified the milestones: 7.0.0, 8.0.0 on Aug 12, 2022
  10. modified the milestones: 8.0.0, 9.0.0 on Jul 22, 2023
  11. added
    enhancement
    on Mar 12, 2024
  12. modified the milestones: 9.0.0, Future on Jun 3, 2024
  13. self-assigned this
    on Dec 12, 2024
  14. pavelsavara commented on Feb 10, 2025

    @pavelsavara
    Member

    obsolete

  15. locked and limited conversation to collaborators on Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Tracing-monoenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions