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. 26 Jan, 2021 2 commits
    • Phillip Kuznetsov's avatar
      Support better type formatting for Row · 9a4bcc53
      Phillip Kuznetsov authored
      Summary:
      Type formatter function was only on tyhe column, not an index. This adds index support
      so this is better.
      
      Test Plan: Tested locally
      
      Reviewers: zasgar, vihang, nserrino, #engineering
      
      Reviewed By: vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7180
      
      GitOrigin-RevId: 3ce74ac21c4dff7438d2ea63dd6f30cc7a35cce7
      9a4bcc53
    • Phillip Kuznetsov's avatar
      Add direct connection support in py api. · 5e478c3e
      Phillip Kuznetsov authored
      Summary: Py API shold support direct connections. Actually had to make an envoy proxy fix to make this owrk.
      
      Test Plan: Tested on a direct conn and added a unit test and both should pass
      
      Reviewers: htroisi, vihang, nserrino, zasgar, #engineering
      
      Reviewed By: vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7179
      
      GitOrigin-RevId: 79c6b2eda23732199c129687e4f0da2c71da4770
      5e478c3e
  2. 25 Jan, 2021 3 commits
  3. 26 Jan, 2021 1 commit
  4. 25 Jan, 2021 2 commits
    • Omid Azizi's avatar
      OpenSSL tracing: Test different version numbers · 3f6f1faf
      Omid Azizi authored
      Summary:
      Choose the offset based on the OpenSSL version number (currently a simple placeholder--Pete to implement more robust version),
      and test different OpenSSL versions.
      
      Test Plan: Two different nginx servers, one with OpenSSL 1.1.0 and one with OpenSSL 1.1.1
      
      Reviewers: yzhao, jps, #engineering
      
      Reviewed By: yzhao, jps, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7165
      
      GitOrigin-RevId: fa4d01146d357c5f5a5ac59589076320a00bd13c
      3f6f1faf
    • Vishal Jain's avatar
      Added UDF to Convert Pod IP to Service ID · 6666d620
      Vishal Jain authored
      Summary: Added a UDF to convert a pod ip to service id.
      
      Test Plan: Unit Test.
      
      Reviewers: nserrino, michelle, #engineering, philkuz
      
      Reviewed By: #engineering, philkuz
      
      Subscribers: vihang
      
      JIRA Issues: PP-2311
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7172
      
      GitOrigin-RevId: 4cb9d15947e145db2007192a31792e398e9247ce
      6666d620
  5. 24 Jan, 2021 1 commit
    • Vihang Mehta's avatar
      Add GetAll to DataStores · f73af753
      Vihang Mehta authored
      Summary:
      TSIA. We use GetAll for tracepoints.
      Depends on D7125
      
      Test Plan: Added tests.
      
      Reviewers: michelle, nserrino, #engineering
      
      Reviewed By: michelle, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7166
      
      GitOrigin-RevId: c951bcbf6547ef71c71917e03d4a95c83e6f7f0a
      f73af753
  6. 25 Jan, 2021 2 commits
  7. 24 Jan, 2021 1 commit
    • Vihang Mehta's avatar
      Add a DataStore interface · 04df9b8f
      Vihang Mehta authored
      Summary:
      While this doesn't quite follow the pattern of having the interface implemented at the consumer, it attempts to split up the interface into smaller logical pieces.
      
      To avoid test dupe, and to ensure that both implementations behave similarly, I decided to combine the `etcd` and `pebbledb` tests into one test.
      To run a single test on both implementations, we need a interface for the two datastores. Hence this does the same.
      
      Test Plan: Refactored existing tests.
      
      Reviewers: nserrino, michelle, #engineering
      
      Reviewed By: michelle, #engineering
      
      JIRA Issues: PP-2376
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7125
      
      GitOrigin-RevId: 311944a8fb67c7753278c8976012758a2ac5e482
      04df9b8f
  8. 25 Jan, 2021 3 commits
    • Nick Lanam's avatar
      UI Coverage: Live context. · 7f266950
      Nick Lanam authored
      Summary: Part number next.
      
      Test Plan: No manual testing needed. Coverage improvements.
      
      Reviewers: michelle, vihang, #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7173
      
      GitOrigin-RevId: 7a44a710ea81c0462db4a71b0c50d26b0219fa5f
      7f266950
    • Omid Azizi's avatar
      OpenSSL tracing: use symaddrs · 746a9296
      Omid Azizi authored
      Summary: We need different symbol addresses depending on the OpenSSL version. This diff adds the mechanism by which we can change the symbol addresses used in the uprobe dynamically.
      
      Test Plan: Existing tests for now. Will need more tests based on OpenSSL version once things are pieced together.
      
      Reviewers: yzhao, jps, #engineering
      
      Reviewed By: yzhao, jps, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7160
      
      GitOrigin-RevId: 68890fb972d67dca732c1614f9cd5f51fc21c689
      746a9296
    • Yaxiong Zhao's avatar
      [CLEANUP] Add syscall signature for syscall probes · e36753c5
      Yaxiong Zhao authored
      Summary: This helps readers understand the format of the syscall probes.
      
      Test Plan: Jenkins
      
      Reviewers: jps, oazizi, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7150
      
      GitOrigin-RevId: b934a958b208a1c7740d79014ad934937d1f7b88
      e36753c5
  9. 23 Jan, 2021 1 commit
  10. 22 Jan, 2021 2 commits
    • Natalie Serrino's avatar
      PP-2396 Add GetTables UDTF to Carnot to fetch tables and their descriptions · b59dd2ae
      Natalie Serrino authored
      Summary: Depends on D7154. Add a GetTables UDTF to Carnot which calls GetSchemas() in the metadata service (similar to GetTableSchemas()).
      
      Test Plan: We didn't have a test for GetTableSchemas, likely due to the fact that that it would need to rely on a mock of the MDS and would likely not add much value beyond the template checks that are done during compilation, so I followed the same pattern here.
      
      Reviewers: zasgar, philkuz, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Subscribers: vjain
      
      JIRA Issues: PP-2396
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7155
      
      GitOrigin-RevId: 1d24e0b6bc3611c0d16ef826569d6a41efc15f32
      b59dd2ae
    • Michelle Nguyen's avatar
      Update CLI "get pem" to use current context cluster if available · a0bb5de3
      Michelle Nguyen authored
      Summary:
      we updated the run command to do so, but never updated `get pem` to use the current context cluster if its available.
      pulled the logic for doing this out of the `run` command, so that `run` and `get` can both use it.
      
      Test Plan: ran CLI `get pem`
      
      Reviewers: philkuz, nserrino, #engineering
      
      Reviewed By: nserrino, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7157
      
      GitOrigin-RevId: eb555be587cd96576b05cb2bd8503e7e779fc442
      a0bb5de3
  11. 25 Jan, 2021 1 commit
  12. 24 Jan, 2021 1 commit
    • Vihang Mehta's avatar
      Add etcd implementation · 350c7735
      Vihang Mehta authored
      Summary:
      Adds a etcd implementation for use as a KVStore.
      (Note: This is largely the same as the existing etcd implementation, but done
      in a clean room to make switching to this easier. Also lines up with the pebbledb
      implementation to have a common interface).
      
      Test Plan: Added unit tests.
      
      Reviewers: michelle, nserrino, #engineering
      
      Reviewed By: michelle, #engineering
      
      Subscribers: vjain
      
      JIRA Issues: PP-2379
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7158
      
      GitOrigin-RevId: e887543a6e412e2476c652c1a952c7da472f7df7
      350c7735
  13. 22 Jan, 2021 1 commit
    • Vihang Mehta's avatar
      Minor fixes to pebbledb impl · 19cf2147
      Vihang Mehta authored
      Summary:
      This helps the importname not stutter ... it's `pebbledb.DataStore`
      instead of `pebbledb.PebbleWrapper`.
      Also set a test size so that the timeout is shorter.
      
      Test Plan: Existing tests.
      
      Reviewers: michelle, nserrino, #engineering
      
      Reviewed By: michelle, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7159
      
      GitOrigin-RevId: a53e745147c0d5e9812b02b24295d5a89640ee7b
      19cf2147
  14. 21 Jan, 2021 1 commit
    • Omid Azizi's avatar
      DeployUprobes clean-up · 5fa76f01
      Omid Azizi authored
      Summary: Will make further changes, but clean-up for now.
      
      Test Plan: Existing tests.
      
      Reviewers: yzhao, jps, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7136
      
      GitOrigin-RevId: 15e7f53de4830f79a25680a69dd8fabee6ce6ec4
      5fa76f01
  15. 22 Jan, 2021 13 commits
    • Zain Asgar's avatar
      Fix warnings around Sirupsen and sirupsen in go mod · 244a7d7b
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: `go mod tidy`, `make gazelle`, `bazel build //...`
      
      Reviewers: michelle, vihang, #engineering
      
      Reviewed By: vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7161
      
      GitOrigin-RevId: 58420dff9c4a85212412c5214a83014e0344600f
      244a7d7b
    • Omid Azizi's avatar
      Oh Stirling, please don't try to uprobe yourself · 3d775590
      Omid Azizi authored
      Summary:
      Noticed stirling was spending quite a bit of time during initialization trying to uprobe itself.
      
      By skipping that, we can speed up init time.
      
      This means we won't see any SSL traffic traced at Stirling/PEM, but that should be okay, since today we use grpc_cpp, which we don't trace anyways.
      
      Test Plan: Manual
      
      Reviewers: yzhao, jps, zasgar, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7135
      
      GitOrigin-RevId: 41934f44bd9d81880fc0b5392b89d44f28a7a9ba
      3d775590
    • Yaxiong Zhao's avatar
      Add 2 additional redis commands related to Redis clustering · fd5fb539
      Yaxiong Zhao authored
      Test Plan: Jenkins
      
      Reviewers: jps, oazizi, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7151
      
      GitOrigin-RevId: 228992a36958090bf0618a397dce6578d8ad8689
      fd5fb539
    • Pete Stevenson's avatar
      openssl_trace.c: add comment to explain usage of type 'int' that is... · 08351045
      Pete Stevenson authored
      openssl_trace.c: add comment to explain usage of type 'int' that is inconsistent with other similar cases where bytes_count is captured.
      
      Summary: openssl_trace.c: add comment to explain usage of type 'int' that is inconsistent with other similar cases where bytes_count is captured.
      
      Test Plan: None, this is a comment.
      
      Reviewers: oazizi, yzhao, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7156
      
      GitOrigin-RevId: 4de08b42689e7a5c4044898d4c05ca7fe52672a1
      08351045
    • Natalie Serrino's avatar
      PP-2396: Add table description to GetSchemas API in metadata service · fd6bc518
      Natalie Serrino authored
      Summary: We want to have a UDTF that returns table names and their descriptions. This diff adds that functionality to GetSchemas in the metadata service, which will be used by the UDTF to produce that result table. Next up, add that UDTF.
      
      Test Plan: edited existing
      
      Reviewers: michelle, philkuz, #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Subscribers: vjain
      
      JIRA Issues: PP-2396
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7154
      
      GitOrigin-RevId: 09d2fccb50dedaab60609c7d0a51548b03056ccb
      fd6bc518
    • Natalie Serrino's avatar
      Remove unused metadata service API (SchemaByAgent) · 4e6cf0c8
      Natalie Serrino authored
      Summary:
      This has been sitting unimplemented for months so we should just remove it for now. I think a better solution for this API will be to give GetSchemas an optional agent ID list. Then, GetSchemasResponse will return a map of table to agents that contain that table. (this way we don't duplicate a full schema for each agent)
      
      This API is unused and unimplemented so the API breaking change errors should be ok to ignore.
      
      Test Plan: n/a
      
      Reviewers: michelle, vihang, #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Subscribers: vjain
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7153
      
      GitOrigin-RevId: faf6ee060e1c0184b5ef7ab776ce84005f0c3088
      4e6cf0c8
    • Pete Stevenson's avatar
      openssl_trace.c: declare bytes_count as int, because open ssl returns as int,... · ed2916db
      Pete Stevenson authored
      openssl_trace.c: declare bytes_count as int, because open ssl returns as int, not as long. Prevent aliasing of -1 to 2^32-1 e.g., prevent bug where we continue to process data that we should skip.
      
      Summary: openssl_trace.c: declare bytes_count as int, because open ssl returns as int, not as long. Prevent aliasing of -1 to 2^32-1 e.g., prevent bug where we continue to process data that we should skip.
      
      Test Plan: Jenkins
      
      Reviewers: yzhao, oazizi, #engineering
      
      Reviewed By: oazizi, #engineering
      
      JIRA Issues: PP-2393
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7152
      
      GitOrigin-RevId: ad8029a9c87587ab961ec198cd090eb324f527ab
      ed2916db
    • Omid Azizi's avatar
      Fix trace_role for PxL scripts · 0cbf5857
      Omid Azizi authored
      Summary: Need to have kRoleClient and kRoleServer maintain their old meanings to avoid breaking PxL scripts.
      
      Test Plan: Existing tests + manual. We'll add a test for this afterwards.
      
      Reviewers: yzhao, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7149
      
      GitOrigin-RevId: 6aa59b0d752c7adc577c9dff969dc44475cc2bf3
      0cbf5857
    • Zain Asgar's avatar
      Update job names for new directory structure · 8de082a4
      Zain Asgar authored
      Summary: Moves to directory based jenkins structure.
      
      Test Plan: N/A
      
      Reviewers: oazizi, vihang, michelle, #engineering
      
      Reviewed By: oazizi, vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7148
      
      GitOrigin-RevId: 785f57adedc216649782446f2672aeef54391f28
      8de082a4
    • Vishal Jain's avatar
      Changes to CLI Command Line Indentation for Run in Help · 893a469c
      Vishal Jain authored
      Test Plan: Manual Testing
      
      Reviewers: nserrino, philkuz, zasgar, #engineering
      
      Reviewed By: zasgar, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7145
      
      GitOrigin-RevId: fbb4cb5758e7ae485aeecb670f318f017db322da
      893a469c
    • Zain Asgar's avatar
      Rename dev jenkins job · 5c45b26f
      Zain Asgar authored
      Summary: Part of effort to add proper RBAC to jenkins.
      
      Test Plan: N/A
      
      Reviewers: michelle, oazizi, vihang, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7146
      
      GitOrigin-RevId: 1d8b863a0c9e5fac55acf5196e46c736bd528044
      5c45b26f
    • Omid Azizi's avatar
      OpenSSL test: Ruby client · f746b773
      Omid Azizi authored
      Summary: More stress on OpenSSL tracing.
      
      Test Plan: This is a test.
      
      Reviewers: yzhao, jps, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7134
      
      GitOrigin-RevId: ce76401ab2106e0174673d408111fec74faae6c5
      f746b773
    • Phillip Kuznetsov's avatar
      [PP-2399]Adding support for cloudapi in the pixie api · 53b66e2f
      Phillip Kuznetsov authored
      Summary: CloudAPI is necessary to get info about available clusters for an org. This adds some API support in the pixie client to enable users to select cluster programmatically rather than manually.
      
      Test Plan: Going to add tests to api_test.py for the new Client methods.
      
      Reviewers: zasgar, vihang, htroisi, #engineering
      
      Reviewed By: vihang, #engineering
      
      JIRA Issues: PP-2399
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7144
      
      GitOrigin-RevId: 9e6a8ced92966f2853bc0cc39bdc90f9c72574e8
      53b66e2f
  16. 21 Jan, 2021 1 commit
    • Phillip Kuznetsov's avatar
      Add python protos for cloud api · 51e982a1
      Phillip Kuznetsov authored
      Summary:
      cloud api has a bunch of protos dependencies. :This converts them into the python format to use in the pixie python API. Most are necessary because they are needed by the VizierClusterInfo service. Not sure how to get around this.
      
      Side note: also added a new proto compile function for just proto libs so we don't have to make grpc file when we only need proto. GRPC proto file is basically just an import grpc so is super useless.
      
      Test Plan: n/a
      
      Reviewers: vihang, zasgar, nserrino, #engineering
      
      Reviewed By: vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7141
      
      GitOrigin-RevId: 920983918bffb78a91921913ba1e8b8b6728472c
      51e982a1
  17. 22 Jan, 2021 1 commit
    • Phillip Kuznetsov's avatar
      Hide some of the Python API · 236e2285
      Phillip Kuznetsov authored
      Summary: Noticed a good amount of the Pixie API should be hidden. This diff hides them. Also removes unused variables.
      
      Test Plan: tests all pass
      
      Reviewers: vihang, nserrino, zasgar, #engineering
      
      Reviewed By: vihang, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D7143
      
      GitOrigin-RevId: 40717170a805baec1256e594f1c6185ce139a312
      236e2285
  18. 21 Jan, 2021 3 commits