{"id":24546664,"url":"https://github.com/devizer/universe.sqltrace","last_synced_at":"2026-02-25T13:03:53.304Z","repository":{"id":74856677,"uuid":"88850191","full_name":"devizer/Universe.SqlTrace","owner":"devizer","description":"Tiny library, which wraps MS SQL Server sp_trace* calls into strongly types data access.","archived":false,"fork":false,"pushed_at":"2025-02-20T04:45:22.000Z","size":715,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T05:30:06.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devizer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-20T09:54:25.000Z","updated_at":"2025-02-20T04:45:26.000Z","dependencies_parsed_at":"2024-04-14T10:33:01.280Z","dependency_job_id":"2b66eceb-e518-41b2-8c0c-06d4e789ae94","html_url":"https://github.com/devizer/Universe.SqlTrace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2FUniverse.SqlTrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2FUniverse.SqlTrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2FUniverse.SqlTrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2FUniverse.SqlTrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devizer","download_url":"https://codeload.github.com/devizer/Universe.SqlTrace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852598,"owners_count":20358274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T22:16:27.001Z","updated_at":"2026-02-25T13:03:53.299Z","avatar_url":"https://github.com/devizer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universe.SqlTrace\n\nTiny library, which wraps MS SQL Server Profiler API (`sp_trace*` calls and queries to `::fn_trace_gettable`) into strongly types data access.\n\nIt supports column chooser and row filtering. \n\nTested on SQL Server 2005 ... 2022 (incuding MS SQL LocalDB) is fully automated in linux and windows.\n\nTargets both .NET Core, .Net Standard, and .NET Framework\n\nVersion 1.8+ Supports both System and Microsoft sql client.\n\n\n\n### About API\n#### Optional columns chooser\n * `Sql`: SP name or SQL Batch Text\n * `Application`: Application Name\n * `Database`: Database Name\n * `ClientHost`: Client Host Name\n * `ClientProcess`: Client Process Id\n * `Login`: Login\n * `ServerProcess`: SQL Server Process Id\n\nVersion 1.7+ also provides actual and compiled execution plans.\n\n#### Mandatory trace columns, which are always presented in the trace session\n* `Duration`\n* `CPU`\n* `Reads`\n* `Writes`\n* `Rows`\n\n#### Trace Session row filters\nAny optional column above could be used as row filter: Application, Database, ClientHost, ClientProcess, Login or Server Process\n\n#### Queries to session report:\n* `ReadSummaryReport()`: returns sum of mandatory trace columns and number of sql-requests\n* `ReadDetailsReport()`: returns all the info from trace session, namely TraceDetailsReport instance. Its possible to get summary or group by using TraceDetailsReport instance\n* `ReadGroupsReport\u003cTKey\u003e()`: returns sums of mandatory trace columns, grouped by one of optional trace column above.\n\n          ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevizer%2Funiverse.sqltrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevizer%2Funiverse.sqltrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevizer%2Funiverse.sqltrace/lists"}