Title: Cache reflection lookup for TransactionID in Net Core logs · Issue #100 · stackify/stackify-api-dotnet · GitHub
Open Graph Title: Cache reflection lookup for TransactionID in Net Core logs · Issue #100 · stackify/stackify-api-dotnet
X Title: Cache reflection lookup for TransactionID in Net Core logs · Issue #100 · stackify/stackify-api-dotnet
Description: No need to perform the reflection-dance for every LogEvent (Introduced with #94): stackify-api-dotnet/Src/StackifyLib/Internal/Logs/LogQueue.cs Lines 201 to 204 in ac13f57 var traceContextProp = callContextType.GetProperty("TraceContext"...
Open Graph Description: No need to perform the reflection-dance for every LogEvent (Introduced with #94): stackify-api-dotnet/Src/StackifyLib/Internal/Logs/LogQueue.cs Lines 201 to 204 in ac13f57 var traceContextProp = ca...
X Description: No need to perform the reflection-dance for every LogEvent (Introduced with #94): stackify-api-dotnet/Src/StackifyLib/Internal/Logs/LogQueue.cs Lines 201 to 204 in ac13f57 var traceContextProp = ca...
Opengraph URL: https://github.com/stackify/stackify-api-dotnet/issues/100
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cache reflection lookup for TransactionID in Net Core logs","articleBody":"No need to perform the reflection-dance for every LogEvent (Introduced with #94):\r\n\r\nhttps://github.com/stackify/stackify-api-dotnet/blob/ac13f57b93335947ae684d2cc9037a2d0ed12dcf/Src/StackifyLib/Internal/Logs/LogQueue.cs#L201-L204\r\n\r\nShould cache the lookup of `callContextType.GetProperty(\"TraceContext\")` and `traceCtxType.GetProperty(\"RequestId\")`.\r\n\r\n```c#\r\nvar traceContextProp = _callCtxTraceContextPropInfo.GetValue(null);\r\nif (traceContextProp != null)\r\n{\r\n var reqIdProp = _traceCtxRequestIdPropInfo.GetValue(traceContextProp)?.ToString();\r\n}\r\n```","author":{"url":"https://github.com/snakefoot","@type":"Person","name":"snakefoot"},"datePublished":"2020-06-29T18:24:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/100/stackify-api-dotnet/issues/100"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a0f38d7-6bd6-f038-cbc9-08040dd3b0cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 944C:B3582:6767297:8CAAB8F:69739556 |
| html-safe-nonce | ffef48027d60ab53d113b35a0b1c18ee4e42411748b4cd663307b8fe58d81e4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDRDOkIzNTgyOjY3NjcyOTc6OENBQUI4Rjo2OTczOTU1NiIsInZpc2l0b3JfaWQiOiI0MzczMTc5MDA4NzExNjI4MTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ffd8f8c47bab12b33dbd74f595f5aeda913a3bac328f78f2d5d26a47e9b42c8f |
| hovercard-subject-tag | issue:647576207 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackify/stackify-api-dotnet/100/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cfb0cf7b9fbc46af5f2ea52ec5ef0e1ffee97c11477d5baccff1a1d986f1f2e3/stackify/stackify-api-dotnet/issues/100 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfb0cf7b9fbc46af5f2ea52ec5ef0e1ffee97c11477d5baccff1a1d986f1f2e3/stackify/stackify-api-dotnet/issues/100 |
| og:image:alt | No need to perform the reflection-dance for every LogEvent (Introduced with #94): stackify-api-dotnet/Src/StackifyLib/Internal/Logs/LogQueue.cs Lines 201 to 204 in ac13f57 var traceContextProp = ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snakefoot |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0b5e2d1da32de5a0b7bcfbc5ba007c93e8e63098fba29e1200efb674aa72e66 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackify/stackify-api-dotnet git https://github.com/stackify/stackify-api-dotnet.git |
| octolytics-dimension-user_id | 3323157 |
| octolytics-dimension-user_login | stackify |
| octolytics-dimension-repository_id | 26443472 |
| octolytics-dimension-repository_nwo | stackify/stackify-api-dotnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26443472 |
| octolytics-dimension-repository_network_root_nwo | stackify/stackify-api-dotnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6fc3acd8abe8a5ec0c4bf4d09d9e27d14301112d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width