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

Trace connection open and close in RelationalConnection #7479

Closed
fitzchak opened this issue Jan 25, 2017 · 2 comments
Closed

Trace connection open and close in RelationalConnection #7479

fitzchak opened this issue Jan 25, 2017 · 2 comments
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@fitzchak
Copy link

RelationalCommand has tracing but RelationalConnection connection is missing.
Adding ConnectionOpened and ConnectionClosed will help us trace this events in order to integrate with EntityFrameworkProfiler.
A PR is on the way.

fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 25, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 26, 2017
…n / commands errors which happened in the connection's scope.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
…n errors which happened in the connection's scope.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
…ed ConnectionError. Also trace more info: executionTime, Duration and InstanceId.

Also trace more info in the transaction Commit and Rollback: executionTime, Duration and add dedicated transaction error method.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
…n errors which happened in the connection's scope.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 29, 2017
…ed ConnectionError. Also trace more info: executionTime, Duration and InstanceId.

Also trace more info in the transaction Commit and Rollback: executionTime, Duration and add dedicated transaction error method.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…ed ConnectionError. Also trace more info: executionTime, Duration and InstanceId.

Also trace more info in the transaction Commit and Rollback: executionTime, Duration and add dedicated transaction error method.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…ction, the RecordsAffected, Timestamp and Duration
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…cuted method, which will be in affected rows in case of method ExecuteNonQuery
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…n errors which happened in the connection's scope.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…ed ConnectionError. Also trace more info: executionTime, Duration and InstanceId.

Also trace more info in the transaction Commit and Rollback: executionTime, Duration and add dedicated transaction error method.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…ction, the RecordsAffected, Timestamp and Duration
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Jan 31, 2017
…cuted method, which will be in affected rows in case of method ExecuteNonQuery
@rowanmiller rowanmiller added this to the 2.0.0 milestone Jan 31, 2017
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Feb 1, 2017
…and the transaction itself which can be fetched from IDbContextTransaction using reflection

Also #Use anonymous types as all the other traces and per the comment on RelationalDiagnosticSourceAfterMessage.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Feb 28, 2017
…and the transaction itself which can be fetched from IDbContextTransaction using reflection

Also #Use anonymous types as all the other traces and per the comment on RelationalDiagnosticSourceAfterMessage.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Mar 26, 2017
…and the transaction itself which can be fetched from IDbContextTransaction using reflection

Also #Use anonymous types as all the other traces and per the comment on RelationalDiagnosticSourceAfterMessage.
fitzchak pushed a commit to fitzchak/EntityFramework that referenced this issue Mar 26, 2017
…and the transaction itself which can be fetched from IDbContextTransaction using reflection

Also #Use anonymous types as all the other traces and per the comment on RelationalDiagnosticSourceAfterMessage.
@ajcvickers ajcvickers reopened this Apr 4, 2017
@ajcvickers
Copy link
Member

Re-opening since community PR to complete this was not building and we decided to track the work as a regular issue.

@ajcvickers ajcvickers modified the milestones: 2.0.0-preview1, 2.0.0 Apr 19, 2017
@anpete
Copy link
Contributor

anpete commented May 11, 2017

Closing as I think @ajcvickers has fully addressed this with the recent diagnostics work.

@anpete anpete closed this as completed May 11, 2017
@anpete anpete added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label May 11, 2017
@bricelam bricelam modified the milestones: 2.0.0, 2.0.0-preview2 May 16, 2017
@ajcvickers ajcvickers modified the milestones: 2.0.0-preview2, 2.0.0 Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

No branches or pull requests

5 participants