Code Monkey home page Code Monkey logo

pixie-demos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pixie-demos's Issues

Can't run the openssl tracer

When following the readme for the openssl-tracer, I get the following:

sudo ./openssl_tracer 1634608
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:41:9: warning: '__HAVE_BUILTIN_BSWAP32__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP32__
        ^
<command line>:4:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP32__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:42:9: warning: '__HAVE_BUILTIN_BSWAP64__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP64__
        ^
<command line>:5:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP64__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:43:9: warning: '__HAVE_BUILTIN_BSWAP16__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP16__
        ^
<command line>:3:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP16__ 1
        ^
3 warnings generated.
prog tag mismatch 9f16ca2b9f8b1e01 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_write
prog tag mismatch c4b89df08a974514 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_write
prog tag mismatch 9f16ca2b9f8b1e01 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_read
prog tag mismatch 12c46cd71c0a6c20 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_read
Opened perf buffer tls_events
Successfully deployed BPF probes. Tracing for SSL data. Use Ctrl-C to exit.

I don't see any actual data. (which I assume should present itself at the end of the output.)

Error deploying the demo app in HPA with Custom Metrics in Kubernetes

Hello
I tried implementing this tutorial https://github.com/pixie-io/pixie-demos/tree/main/custom-k8s-metrics-demo .
While deploying the test application with kubectl apply -f demo-app.yaml i get the following error :
Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
deployment.apps/echo-service unchanged
service/echo-service unchanged
Error from server (BadRequest): error when creating "demo-app.yaml": HorizontalPodAutoscaler in version "v2beta2" cannot be handled as a HorizontalPodAutoscaler: json: cannot unmarshal string into Go struct field HPAScalingPolicy.spec.behavior.scaleDown.policies.value of type int32

Error when compiling the ebpf-profiler

I am using UBuntu 18.04 and I was able to use bcc/profile.py. When I was trying to make the ebpf-profiler, I ran into the following error:

clang++ --std=c++17 -o perf_profiler perf_profiler.cc -lbcc
/tmp/perf_profiler-0943c5.o: In function `ebpf::BPF::BPF(unsigned int, ebpf::TableStorage*)':
perf_profiler.cc:(.text._ZN4ebpf3BPFC2EjPNS_12TableStorageE[_ZN4ebpf3BPFC2EjPNS_12TableStorageE]+0x56): undefined reference to `ebpf::BPFModule::BPFModule(unsigned int, ebpf::TableStorage*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:21: recipe for target 'perf_profiler' failed
make: *** [perf_profiler] Error 1

Is this supported by ubuntu?

Go struct documentation on the httptraceKprobe tool

Hi All,

I am trying to build a similar tool and ran into a block while reading the following code as I couldn't find go documentation specifying the struct format.

// This needs to match exactly with the Go version of the struct.
struct syscall_write_event_t {
  // We split attributes into a separate struct, because BPF gets upset if you do lots of
  // size arithmetic. This makes it so that it's attributes followed by message.
  struct attr_t {
    int event_type;
    int fd;
    int bytes;
    // Care needs to be taken as only msg_size bytes of msg are guaranteed
    // to be valid.
    int msg_size;
  } attr;
  char msg[MAX_MSG_SIZE];
}; ```

Could I possibly have a link to the go documentation where it specifies that this struct syscall_write_event_t
 is as given. Also, if the program would be compiled in the future with python or another language, 
would I have to then use the documentation of given language for this struct. If anyone has the 
link of relevant documentation for python or C, please let me know! 

Thanks 

image is not pulling

gcr.io/pixie-oss/pixie-dev/demo/http_echo_image:latest
gcr.io/pixie-oss/pixie-dev/demo/custom-k8s-metrics-api:0.0.1

unable to pull these two images getting error like this
root@ip-172-31-24-17:~# Error response from daemon: manifest for gcr.io/pixie-oss/pixie-dev/demo/custom-k8s-metrics-api:latest not found: manifest unknown: Failed to fetch "latest"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.