mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
ebpf plugin to gather http-request rate per PID
This commit is contained in:
committed by
Paul Bellamy
parent
333d32fbe5
commit
2da13da6f7
12
examples/plugins/ebpf/Dockerfile
Normal file
12
examples/plugins/ebpf/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM ubuntu:wily
|
||||
MAINTAINER Weaveworks Inc <help@weave.works>
|
||||
LABEL works.weave.role=system
|
||||
|
||||
# Install BCC
|
||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D4284CDD
|
||||
RUN echo "deb http://52.8.15.63/apt trusty main" | tee /etc/apt/sources.list.d/iovisor.list
|
||||
RUN apt-get update && apt-get install -y libbcc libbcc-examples python-bcc
|
||||
|
||||
# Add our plugin
|
||||
ADD ./http-requests.c ./http-requests.py /usr/bin/
|
||||
ENTRYPOINT ["/usr/bin/http-requests.py"]
|
||||
Reference in New Issue
Block a user