How to get proper diff of merge commit in tig

if i got into tig main view, i get a nice graph of commits and merges. i'd prefer to just look at the merge commits to trunk but unlike with normal commits tig where tig shows the full diff with...

Interacting with libscap from Python using ctypes

I have been working on a wrapper around sysdig libscap library using ctypes. It is all working good except one thing that is starting to frustrate me. Libscap uses the uthash library for...

What is the state of system level tracing in production Linux systems (RH/CentOS and Debian/Ubuntu)?

I'm helping develop an internal cloud infrastructure (OpenStack) to provide our departments with a fully on-premises alternative to AWS/Rackspace/SoftLayer/etc. My boss just relayed a question to...

zookeeper high disk IO

Currently our 3 zookeeper instance running on EC2 suffering high disk IO (cpu wait 50% in top command). Our Disk is 80G EBS which can get 240 4k IOPS I iotop zookeeper Process shows Disk Write...

API Gateway generating 11 sql queries per second on REG_LOG

We have sysdig running on our WSO2 API gateway machine and we notice that it fires a large number of SQL queries to the database for a minute, than waits a minute and repeats. The query looks like...

How to trace a single process with 'sysdig'?

How to trace a single process with sysdig ? Something similar to strace /bin/ls

Weird process time improvement when supervising with sysdig

I recently tried Sysdig for a project. My main goal is to catch syscalls from the kernel and Sysdig seems to be a good option. Actually, I had done some tests with different techniques and...

How to get RAM, CPU, network usage on a specific process on a container

I am looking at a number of Docker containers running on a Centos7 VM. Each container will be running a number of processes. For each process, I want to be able to see the CPU network and RAM...

import sysdig data into elastic

I am using the logstash config file that I got from this article... http://logz.io/blog/sysdig-elk-stack/ The contents of /etc/logstash/sysdig-logstash.conf input { stdin { } } filter { ...

Asio on Linux stalls in epoll()

We're experiencing a problem with asynchronous operation of standalone (non-Boost) Asio 1.10.6 on Linux, which is demonstrated using the following test app: #define ASIO_STANDALONE #define...

API monitoring tool

I wish to monitor all the APIs that I created on one of my docker containers. That Docker container is using Django REST framework for its services.. and I am running it on Azure. I want to...

Nginx Ingress controllers

We have a services which can be accessed through both http and https protocol. Since we have some authorization module based on the both http and https protocol we need to redirect the http...

kubernetes, port omitted when ingress-nginx redirects

I have a small cluster, and there are three external services. I use clusterIP as internal pod communication. Then I use ingress(nginx) as inverse proxy. The ingress connects internet to...

writing sysdig output to a file

I want to check my users commands on my server for a period of time so I use sysdig command with nohup. I want to write output to a file like so: # nohup sysdig -c spy_users 1>>/path/to/true...

Should I use systemd or docker-compose to keep Docker containers running on my systems?

We are talking about Docker containers as sysdig, consul, fluentd, mesos-slave, etc. that we are running on almost all machines. Currently we are using Ubuntu's Upstart and CoreOS's Fleetctl....

How do I install ansible-galaxy on mac os using brew?

Is it possible to install ansible galaxy using brew on mac os? I tried: $ brew install ansible-galaxy Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (homebrew/cask-versions,...

How to integrate Rancher Kubernetes cluster with Sysdig inspect

Any ideas to integrate the Kubernetes cluster on rancher with Sysdig Inspect

How to measure http requests per second using micrometer

We have a rest service developed using vert.x with large number of requests coming every seconds. I am using StatsdMeterRegistry for other metrics like Timer to measure taken to process different...

Running sysdig on minikube

I'm trying to run sysdig on my local kubernetes cluster which I'm running using minikube with kvm2 as the vm-driver. I'm new to sysdig and wanted to find the system calls run by by a pod. The...

Collect NGINX access.log statistics to Prometheus

There is nginx web server, that serves API calls from different User-Agents. I want to parse nginx logs and collect statistics about API calls from different User-Agents. I'm going to write python...

Prometheus add custom metrics

We have a Prometheus running in our cluster and we are able to use grafana to watch our cluster / pods metrics, now I want to add some custom metrics , is there a way to do it ? if so how should I...

istio: VirtualService rewrite to the root url

I have an Istio 1.4.6 VirtualService with a match and a url rewrite defined as follows: match: - authority: prefix: example.com uri: prefix: /foo/bar rewrite: ...

Loop crashes with Falco

I'm currently experimenting with Falco (a runtime monitoring solution for container). I'm working locally on a Mac (Catalina v10.15.3), have Helm (v3.1.2) installed, Docker (version 2.2.0.5...

istio 1.4.8: strange 400 error when used with AWS Load balancer

I'm getting a strange 400 error when I try to connect to an Istio Gateway when behind an AWS load balancer. I don't see any activity in the istio-ingresgateway logs (even with debug settings on),...

Kubernetes ingress sending requests to 2 different services

Update: I reproduced this in its own repo https://github.com/ericwooley/repro-ingress-issue I'm trying to setup ingress on minikube with the ingress addon. I have two services, and...

Kubernetes Nginx Ingress file upload returning 502

I am trying to upload files from a client through an nginx ingress. I have set the following annotations on the ingress after receiving a 413 response; Annotations: ...

How to create a drop down in grafana dashboard which is based on sysdig metrics label

I am trying to create a drop down in grafana panel for the below metric : cloud_storage_request_count{repo="github",method="create",region="ap-south",zone="ap-south-1"} I want to create a dropdown...