This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 06 Nov, 2020 1 commit
    • Vihang Mehta's avatar
      New license fetcher · a2bad481
      Vihang Mehta authored
      Summary:
      Reads `go.sum` to check all golang deps. Tries to fetch license from `github.com` and if it fails, tries `pkg.go.dev`.
      Reads `.gitmodules` for submodules and tries to fetch licenses from `github.com`.
      Uses the npm `license-checker` package to fetch licenses for npm deps.
      Reads `repositories.bzl` for other deps and tries to fetch licenses from `github.com`.
      
      Falls back to reading a manual JSON input for deps that we couldn't automatically fetch licenses for.
      
      Test Plan: Run the license fetcher script.
      
      Reviewers: zasgar, philkuz, #engineering, michelle
      
      Reviewed By: philkuz, #engineering, michelle
      
      Subscribers: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6652
      
      GitOrigin-RevId: a7afed22cc3d65c4a87fd161f0fb1ce5ef619e60
      a2bad481
  2. 09 Oct, 2020 1 commit
  3. 25 Sep, 2020 1 commit
    • Michelle Nguyen's avatar
      Add extra logging for when single etcd request > max request size · c9d1e538
      Michelle Nguyen authored
      Summary:
      We ran into this issue in both customer prod clusters, where the cache was unable to flush because we kept trying to flush an entry that was larger than the maximum request size that we can send over etcd.
      we already try to batch etcd operations so that the request is not larger than the maximum request size. however, this single operation is already larger than the max request we can send.
      i think we need more information to determine how to handle this case.
      - if it is a k8s update, which we got directly from the k8s api, we should consider increasing the maximum request size that etcd permits, since most likely we don't want to cut out any information in this message.
      - if it is our own entry (agents, schemas, etc), then we should consider looking into ways we can shrink the message or split it into separate entries.
      to figure this out, i just added a log for the next time the error occurs.
      
      Test Plan: n/a
      
      Reviewers: nserrino, zasgar, #engineering
      
      Reviewed By: nserrino, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6329
      
      GitOrigin-RevId: 679725b32c2818cc5634bedfdb91d4f526c2c770
      c9d1e538
  4. 23 Sep, 2020 2 commits
    • James Bartlett's avatar
      Add UDFs/UDAs for k-means, embedding model, and sentencepiece. · 796c78d7
      James Bartlett authored
      Summary:
      Adds a UDF for the transformer model
      Adds a UDF for the sentencepiece model
      Adds a UDA for fitting kmeans
      Adds a UDF for taking fitted kmeans centroids, and mapping to cluster ids.
      
      Test Plan: Added tests, and also tried end2end
      
      Reviewers: #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Subscribers: philkuz, zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6295
      
      GitOrigin-RevId: 81c1a0da8b5dbd7051c11caf5caafae5568e70bb
      796c78d7
    • James Bartlett's avatar
      Add ModelPool to allow UDFs/UDAs to borrow an initialized model. · d3e89fd1
      James Bartlett authored
      Summary:
      This adds the ModelPool which allows UDFs to borrow a pointer to a pre-initialized model. Right now, the pool will only create one model, and allow calls must share that copy, but this can be changed in the future if we need more parallel queries.
      
      This diff also implements inference for the transformer style model.
      
      @zasgar We talked about this awhile back but I think I strayed a bit from what we were talking about, so would be good to hear your thoughts on this one.
      
      Test Plan: Added some tests and used in end2end
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Subscribers: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6294
      
      GitOrigin-RevId: f34c22892644f413025bf4e7973b5a8e25f3d07a
      d3e89fd1
  5. 20 Aug, 2020 1 commit
    • Phillip Kuznetsov's avatar
      Adding docspb protobuf · c3d29448
      Phillip Kuznetsov authored
      Summary: Protobuf will be used as part of Pxl autodoc. This protobuf will act as the holder both of messages from cpp -> GO docstring parser and go to UI  docs renderer
      
      Test Plan: n/a
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5962
      
      GitOrigin-RevId: f012db381efcc2c8661af79583e5d4a58c1158de
      c3d29448
  6. 10 Aug, 2020 1 commit
    • Natalie Serrino's avatar
      PP-2117: Add go mock for ResultSinkService · 90251548
      Natalie Serrino authored
      Summary: Will be used for testing changes to the query broker, specifically the implementation of the API TransferResultChunk.
      
      Test Plan: n/a
      
      Reviewers: michelle, zasgar, philkuz, #engineering
      
      Reviewed By: philkuz, #engineering
      
      JIRA Issues: PP-2117
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5940
      
      GitOrigin-RevId: 73a7c91abf5e17314db948014b43f55c4bbf2a72
      90251548
  7. 29 Jul, 2020 1 commit
  8. 27 Jul, 2020 1 commit
  9. 23 Jul, 2020 1 commit
    • Michelle Nguyen's avatar
      Add ProbeManager to MDS · 9ea74d04
      Michelle Nguyen authored
      Summary:
      this diff adds the probe manager to MDS. it is currently not hooked up yet--that is to come in a later diff.
      the probe manager is responsible for handling any probe creation/updates and sending off registration messages to agents over NATS.
      
      the plan is to have a reference to the probe manager in metadata/server.go, which receives RPC requests creating/checking probe status.
      there will also be a reference to probe manager in the agent topic listener, where we receive probe update messages.
      
      Test Plan: unit tests
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5704
      
      GitOrigin-RevId: e623f420e4620e5d403122641a7f6e12bf8bdc2a
      9ea74d04
  10. 21 Jul, 2020 2 commits
    • Michelle Nguyen's avatar
      Move storepb to separate directory · 2b92c62d
      Michelle Nguyen authored
      Summary: tsia
      
      Test Plan: ran update_go_protos, make gazelle
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5696
      
      GitOrigin-RevId: e45d6c0ff6ace06b74ac8a8a386412e429be0a75
      2b92c62d
    • Michelle Nguyen's avatar
      Add proto message for storing Probe Info in etcd · e3f09ac5
      Michelle Nguyen authored
      Summary:
      This adds the proto format for how we plan to store ProbeInfo in etcd in MDS.
      Currently, MDS stores protos from agentpb and metadatapb, which are all part of shared directories and used in a couple other places.
      ProbeInfo is the only proto which is used internally in MDS, so I have created a new file for such protos.
      
      the probe message just contains the ID, and the list of agents who have failed/suceeded to register the probe.
      
      Test Plan: n/a
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5671
      
      GitOrigin-RevId: 4dcb89c1d192c3a76f2de5864ab66cba438e2c50
      e3f09ac5
  11. 20 Jul, 2020 1 commit
    • Michelle Nguyen's avatar
      Add RegisterProbe protos · 6b0b574b
      Michelle Nguyen authored
      Summary:
      this diff adds the RegisterProbe messages for the QB->MDS->PEM messaging pipeline.
      although the contents of the messages are currently the same, I created two separate messages for QB->MDS and MDS->PEM.
      that is because the messages from QB->MDS is intended as a message to register probes on all agents, whereas the message from MDS->PEM is the intent to register probes on a single agent.
      
      Test Plan: existing tests should pass
      
      Reviewers: zasgar, oazizi, philkuz, yzhao, #engineering
      
      Reviewed By: zasgar, oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5664
      
      GitOrigin-RevId: ab1636328693d93611fccf19ceca3ad47b7128aa
      6b0b574b
  12. 14 Jul, 2020 1 commit
  13. 23 May, 2020 1 commit
    • Omid Azizi's avatar
      Pre-package timeconst.h files · 66ae700d
      Omid Azizi authored
      Summary: This adds pre-packaged timeconst.h files to accompany the prepackaged linux headers.
      
      Test Plan: Tested on EC2.
      
      Reviewers: yzhao, zasgar, #engineering
      
      Reviewed By: yzhao, zasgar, #engineering
      
      JIRA Issues: PP-1944
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4926
      
      GitOrigin-RevId: 101c7c2ead324fe0042776c2ddcbe88726eda4a4
      66ae700d
  14. 19 May, 2020 1 commit
    • Michelle Nguyen's avatar
      Fix cloud kuberesolver TLS bug · 2273b457
      Michelle Nguyen authored
      Summary:
      we recently updated grpc, which slightly changes how it uses Addresses (https://godoc.org/google.golang.org/grpc/resolver#Address)
      See: ServerName. it says that if serverName is not empty, that is the name it will use to authenticate with the TLS cert. kuberesolver, the package we're using to resolve kube addresses does not leave this field empty, but rather uses the pod-name, which fails the TLS check. instead, it should be setting this field as "".  patched the kuberesolver library to do that.
      
      Test Plan: ran cloud dev and made sure could login
      
      Reviewers: zasgar, philkuz, #engineering, nserrino
      
      Reviewed By: #engineering, nserrino
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4890
      
      GitOrigin-RevId: fd5f2395c3a2fa5dc22e2d04c32520fe4539d1c0
      2273b457
  15. 07 May, 2020 1 commit
    • Natalie Serrino's avatar
      PP-1809: Metadata service should cache and return agent k8s entity bloom filters · 30ec3c7b
      Natalie Serrino authored
      Summary:
      Depends on D4477. We are constructing bloom filters that contain all of the k8s entities
      that a given agent has stored on it. Those bloom filters will be created by the agents, sent to the
      metadata service with the agent heartbeats, and queried by the query broker when a query is executed.
      This diff creates a place for the wrapper of those bloom filters, AgentDataInfo, in the metadata store.
      AgentDataInfo will eventually store more than just information about K8s metadata, it will also store
      things like which columns in an agent table contain which categorical values, etc.
      
      Test Plan: added
      
      Reviewers: michelle, zasgar, philkuz, #engineering
      
      Reviewed By: michelle, #engineering
      
      JIRA Issues: PP-1809
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4651
      
      GitOrigin-RevId: a49b14095d97f76b1fb0a5941132b44f611302b0
      30ec3c7b
  16. 01 May, 2020 1 commit
    • Omid Azizi's avatar
      Use compressed header packages · 35d2f56a
      Omid Azizi authored
      Summary:
      We now include compressed Linux header packages, and decompress the closest match if we can't locate host headers.
      
      Before this work started, we had included a single linux headers package consuming aboud 230 MB.
      
      Now, we include 12 sets of linux header packages, but compressed. In total, they consume ~96 MB.
      
      So we've saved space, and we've made things more robust.
      
      Only downside is some initialization time is used to decompress the files, but this is minor. And it is only incurred when host header packages are not located.
      
      Test Plan: Updated some tests, and tested manually.
      
      Reviewers: yzhao, zasgar, #engineering
      
      Reviewed By: yzhao, #engineering
      
      JIRA Issues: PP-1863
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4635
      
      GitOrigin-RevId: 9fae1e5a80a4772b354ac37a25902c31a6dd271d
      35d2f56a
  17. 30 Apr, 2020 1 commit
    • Omid Azizi's avatar
      Stirling: Trim headers package, and include more headers · 9201e48e
      Omid Azizi authored
      Summary:
      This removes a bunch of unneeded files from the pre-packed headers.
      
      With the space savings, more linux headers are included in the base image.
      
      This should make us more reliable across Linux versions.
      
      Test Plan: Manual.
      
      Reviewers: #engineering, zasgar, yzhao
      
      Reviewed By: #engineering, zasgar
      
      JIRA Issues: PP-1864, PP-1863
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4622
      
      GitOrigin-RevId: ffb9cc3aea44b678dcff594b7edec56430e522a3
      9201e48e
  18. 29 Apr, 2020 2 commits
    • Omid Azizi's avatar
      Stirling: choose closest linux headers match · 8257347a
      Omid Azizi authored
      Summary:
      This diff adds multiple pre-packaged linux headers into the PEM/stirling base image.
      
      Stirling then chooses the closest Linux kernel match in case it can't find the host headers.
      
      Test Plan: Some tests added, and tested manually too.
      
      Reviewers: yzhao, zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      JIRA Issues: PP-1863
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4605
      
      GitOrigin-RevId: 02fdf0332ce283ac8d31cff06d5645cb48ec98f2
      8257347a
    • Omid Azizi's avatar
      Linux headers package update · ac47006e
      Omid Azizi authored
      Summary:
      We suspect a mis-matched header may be causing Stirling issues when it has to use the prepackaged headers.
      
      To address this, this includes a set of Linux headers build from version 5.3.18.
      
      The headers aren't used yet. This just updates the generation code, and makes the tarball accessible.
      
      Test Plan: Ran the script to build the headers. They look fine.
      
      Reviewers: yzhao, #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      JIRA Issues: PP-1789
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4583
      
      GitOrigin-RevId: efabc0bf50e37344f79e53da648d90c0db94cd02
      ac47006e
  19. 27 Apr, 2020 1 commit
    • Omid Azizi's avatar
      [Cleanup] Move BPF trace targets to demos/client_server_apps · c3e2fb87
      Omid Azizi authored
      Summary:
      A better place for our tracing targets to live. These simple apps are used by both experimental probes and Stirling tests.
      
      In sum
      //experimental/bpf/tracers/bin -> //demo/client_server_apps
      //demos/perf/bcc -> //experimental/bcc_perf
      
      Test Plan: Jenkins
      
      Reviewers: yzhao, zasgar, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4560
      
      GitOrigin-RevId: 7ee5a9ad28d384cefcd61352510ef67aa1befa9d
      c3e2fb87
  20. 16 Apr, 2020 1 commit
  21. 15 Apr, 2020 1 commit
    • Omid Azizi's avatar
      A client-server using the pixie services framework · 37a1291d
      Omid Azizi authored
      Summary:
      This provides the stimulus that exposes a gap in our HTTP2/GRPC uprobes.
      
      Putting into experimental for now, but will likely move to Stirling as part of a test, once the uprobes are fixed.
      
      Depends on D4337.
      
      Test Plan: Manually run.
      
      Reviewers: yzhao, #engineering
      
      Reviewed By: yzhao, #engineering
      
      JIRA Issues: PP-1751
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4340
      
      GitOrigin-RevId: 90df45aa0099c583cff312dde7ca20d0cbcb36cb
      37a1291d
  22. 10 Apr, 2020 1 commit
    • Zain Asgar's avatar
      Add Bazel build avoidance · 5c34064b
      Zain Asgar authored
      Summary: This adds build avoidance by using bazel query to make sure we only run necessary targets.
      
      Test Plan:
      Tested with CC change.
      Tested with Go Change.
      
      Reviewers: michelle, oazizi, #engineering
      
      Reviewed By: oazizi, #engineering
      
      JIRA Issues: PP-1766
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4266
      
      GitOrigin-RevId: d7f681e94a470f6a95bb99e63ebb8ce563f70b64
      5c34064b
  23. 06 Apr, 2020 1 commit
    • Michelle Nguyen's avatar
      Remove autocomplete service · 5cc6192d
      Michelle Nguyen authored
      Summary: as discussed, we no longer want a separate autocomplete service. instead, we will be handling autocomplete in the API service. however, we will still pull out the autocomplete logic in a separate module (the old autocomplete folder we had before).
      
      Test Plan: n/a
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4214
      
      GitOrigin-RevId: a89d0143e8889e995d8ecc1e4559a0fa92c1e4ab
      5cc6192d
  24. 01 Apr, 2020 1 commit
    • Michelle Nguyen's avatar
      Add boilerplate code for autocomplete service · 9013491a
      Michelle Nguyen authored
      Summary: we are adding an autocomplete service. this diff contains the boilerplate code necessary for getting that service up and running. it currently does nothing
      
      Test Plan: ran in skaffold, made sure service is up and running
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4147
      
      GitOrigin-RevId: 0804f58d7cb3f12eccd5b938c4ebe209c109fffe
      9013491a
  25. 17 Mar, 2020 1 commit
  26. 19 Mar, 2020 1 commit
  27. 13 Mar, 2020 1 commit
  28. 03 Mar, 2020 1 commit
    • Michelle Nguyen's avatar
      VZMgr should broadcast when Vizier Connected · 69ed3e4c
      Michelle Nguyen authored
      Summary: when vzmgr receives a vizier connected request, it should broadcast to NATS. for now, I just publish to the "VizierConnected" channel with the vizier's id, org id, and current resource version
      
      Test Plan: unit test
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3717
      
      GitOrigin-RevId: 6b82f02660c3783433757d52353b403a9d68d727
      69ed3e4c
  29. 29 Feb, 2020 3 commits
  30. 24 Feb, 2020 1 commit
    • Michelle Nguyen's avatar
      Add metadata service RPC to get metadata updates · 330ab704
      Michelle Nguyen authored
      Summary:
      The metadata service should have a rpc stream for getting metadata updates.
      originally i said I would split this into two calls, one for "syncing" and one for subscribing to updates, but i realized just doing it in a single call makes more sense and matches  how the k8s api watcher works
      the cloud connector should send a GetMetadataUpdatesRequest with the resourceVersion it wants. metadata service is this responsible for getting all updates currently existing since that resource version + sending future resource updates
      
      Test Plan: n/a
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3606
      
      GitOrigin-RevId: c6453a2280b713c6f3657cde36f7abb526953c91
      330ab704
  31. 20 Feb, 2020 1 commit
    • Michelle Nguyen's avatar
      Add utils for translating between internal pbs to vizierpb · 4a5f3773
      Michelle Nguyen authored
      Summary: we need to translate between the pbs we're using internally to the new vizierpb format. these are just the utils to do so, the code that actually applies the translation will be in a followup diff.
      
      Test Plan: unit test, tested when running skaffold
      
      Reviewers: zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3572
      
      GitOrigin-RevId: 7c0c522ff20ae22e8b487fe2d02df917261b22db
      4a5f3773
  32. 16 Feb, 2020 1 commit
  33. 31 Jan, 2020 1 commit
  34. 09 Jan, 2020 1 commit
    • Phillip Kuznetsov's avatar
      Make UDFInfo an argument to LogicalPlanner constructor · 02d22e53
      Phillip Kuznetsov authored
      Summary:
      Make UDFInfo a part of the LogicalPlanner constructor and make it so that logical planner inits a registry_info from the udfinfo. This makes it so we can create a Logical Planner with the registry info and use that registry info for the duration of the compiler state object's lifetime.
      
      Also updated cgo boundary so that we pass UDFInfo (serialized) into the constructor of the planner.
      
      Test Plan: Tests should all work as before.
      
      Reviewers: nserrino, zasgar, michelle, #engineering
      
      Reviewed By: nserrino, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3114
      
      GitOrigin-RevId: 215a3880afc69e89c4cb13634e5d4b21c4370c5d
      02d22e53
  35. 15 Jan, 2020 1 commit
    • Zain Asgar's avatar
      Submit correct version of libc++ changes · fb2ae188
      Zain Asgar authored
      Summary:
      In D3178, I accidently landed from the wrong machine and submitted the stale change.
      This is the patch to get it to the correct version.
      
      Test Plan:
        `bazel test --config=libc++ --keep_going //...`
        `bazel test --config=clang --keep_going //...`
        `bazel test --config=gcc --keep_going //...`
      
      Reviewers: #engineering, michelle, oazizi, philkuz
      
      Reviewed By: #engineering, oazizi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3192
      
      GitOrigin-RevId: e9092fdf0754c157778f8edafd98acca2393c2cb
      fb2ae188