Title: Add protocol span export scripts to OTel plugin by ddelnano · Pull Request #62 · pixie-io/pixie-plugin · GitHub
Open Graph Title: Add protocol span export scripts to OTel plugin by ddelnano · Pull Request #62 · pixie-io/pixie-plugin
X Title: Add protocol span export scripts to OTel plugin by ddelnano · Pull Request #62 · pixie-io/pixie-plugin
Description: This PR replicates the New Relic protocol span export scripts to the OTel plugin. The HTTP spans export script will be used by my Kubecon talk where I use the resulting OTLP data to configure Envoy authZ. The following changes were made to each script: Each script had its description modified (was New Relic focused) and any New Relic related comments removed. HTTP script was modified slightly since I found the attributes a little confusing. The diff below shows the original version against the version added here diff $ diff orig_http_spans.yaml http_spans.yaml 67,74c67,71 < # While other Pixie entities use `service.name=source_service`, < # the Services-OpenTelemetry entity is set up to only show clients so we use `service.name=destination_service`. < 'service.name': df.destination_service, < 'service.instance.id': df.destination_pod, < 'k8s.pod.name': df.destination_pod, < 'k8s.deployment.name': df.destination_deployment, < 'k8s.namespace.name': df.destination_namespace, < 'k8s.node.name': df.destination_node, --- > 'server.service.name': df.destination_service, > 'server.k8s.pod.name': df.destination_pod, > 'server.k8s.deployment.name': df.destination_deployment, > 'server.k8s.namespace.name': df.destination_namespace, > 'server.k8s.node.name': df.destination_node, 89,94c86,90 < # NOTE: the integration handles splitting of services. < 'parent.namespace.name': df.source_namespace, < 'parent.service.name': df.source_service, < 'parent.deployment.name': df.source_deployment, < 'parent.node.name': df.source_node, < 'parent.k8s.pod.name': df.source_pod, --- > 'client.service.name': df.source_service, > 'client.k8s.pod.name': df.source_pod, > 'client.k8s.deployment.name': df.source_deployment, > 'client.k8s.namespace.name': df.source_namespace, > 'client.k8s.node.name': df.source_node, Testing Done Created a custom export script for each of these in my cloud and verified they were successful
Open Graph Description: This PR replicates the New Relic protocol span export scripts to the OTel plugin. The HTTP spans export script will be used by my Kubecon talk where I use the resulting OTLP data to configure Envoy...
X Description: This PR replicates the New Relic protocol span export scripts to the OTel plugin. The HTTP spans export script will be used by my Kubecon talk where I use the resulting OTLP data to configure Envoy...
Opengraph URL: https://github.com/pixie-io/pixie-plugin/pull/62
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:89675e17-d2ab-a11b-4c48-c1a757952519 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB3A:335FF6:340C54A:442D814:697D8161 |
| html-safe-nonce | 4a4e9ab46c83bb398b09bd905f4d6abd74758325c61001333ccf76f44b522f23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjNBOjMzNUZGNjozNDBDNTRBOjQ0MkQ4MTQ6Njk3RDgxNjEiLCJ2aXNpdG9yX2lkIjoiNjI3OTk2MTkwOTA3NjUyNTQwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ecf7803f570e553f71dd8436c1c0a4f747b57568fb1730ab6d3622920f2e2262 |
| hovercard-subject-tag | pull_request:2113492640 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/pixie-io/pixie-plugin/pull/62/files |
| twitter:image | https://avatars.githubusercontent.com/u/5855593?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5855593?s=400&v=4 |
| og:image:alt | This PR replicates the New Relic protocol span export scripts to the OTel plugin. The HTTP spans export script will be used by my Kubecon talk where I use the resulting OTLP data to configure Envoy... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pixie-io/pixie-plugin git https://github.com/pixie-io/pixie-plugin.git |
| octolytics-dimension-user_id | 82631609 |
| octolytics-dimension-user_login | pixie-io |
| octolytics-dimension-repository_id | 476049746 |
| octolytics-dimension-repository_nwo | pixie-io/pixie-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 476049746 |
| octolytics-dimension-repository_network_root_nwo | pixie-io/pixie-plugin |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width