Skip to content

Posts...

Page 6 of 42

Ignore ESLint Directives in Code

January 18, 2018Categories: Software, Tutorial
The other day I've had to refactor a piece of angular code. Unfortunately, the original code was written a long time ago and has some issues like having $scope in controllers and a rather large number of unused variables. changing the $scope to this is a very time-consuming task as it implies…

Monitor ethOS Distro with Elastic Search - 3

December 27, 2017Categories: IT, Software, Tutorial
Once we've set up the data sending from out ethOS machine , we can check that ElasticSearch collects data. With GET /ethos/_count , we get something like: If the count is greather than 0 , we can start analysing the data. Metrics I am currently measuring only machine. Therefore, I've set up some…

Proxy Content from URL with Webpack Dev Server

December 21, 2017Categories: Software, Tutorial
An application I'm working with has a large amount of static files (path starting with '/files/' ) deployed on a mounted volume in Docker . They are subsequently served via nginx . for local development, I thought of two options: Add files to the local dev server (e.g. copy assets) Build a proxy…

Monitor Docker Logs with ELK - 2

December 12, 2017Categories: IT, Tutorial
This second post in the series provides a starting point for visualising the log data. It makes some assumptions that logs are collected in a way described by the first part , so I would suggest to read through it if you haven't already. Verify First, make sure you have some data logged in: You…

Monitor Docker Logs with ELK - 1

December 12, 2017Categories: IT, Tutorial
Following my attempts to monitor ethOS data via ElasticSearch and Kibana , I've thought it would be a good idea to start monitoring the logs produced by my various docker instances. This first part deals with configuring ELK and logspout . Prerequisites I assume the following: ELK is…

Monitor ethOS Distro with Elastic Search - 2

December 6, 2017Categories: IT, Software, Tutorial
Following the previous post , we are now in position to install the monitoring code on the monitoried machine, of course. The easiest way is to download the code on the machine in /home/ethos . Following steps will assume you have the unpacked code in Once you have downloaded the code, you need…

Monitor ethOS Distro with Elastic Search - 1

November 30, 2017Categories: IT, Software
TL;DR: It's possible to monitor your ethos distro install on an ElasticSearch instance. I like EthOS. I like its panel too, but at the time of writing it had some issues on updating values This was somewhat unfortunate because it's the same time when I set up my rig so monitoring without typing…

Docker Exec Path-based Commands

November 17, 2017Categories: IT, Tutorial
TL;DR: Use sh -c "command with arguments" I've tried to execute in order to see the size used by a container's logs. Unfortunately, this resulted in an error along the lines: du: C:/Program Files/Git: No such file or directory This means that my git bash prompt interpreted the / itself. In…

HTTP 400 Bad Request with docker-maven-plugin

November 16, 2017Category: IT
TL;DR : Check your Dockerfile (try to build it manually) before anything else! Today I was struggling with a 400 error: Exception caught: Request error: POST https://192.168.99.101:2376/build?t=localhost:5000/eris-django:2.0.1-ivanlla : 400: HTTP 400 Bad Request -> Help 1 when building an…
PreviousNext

All tags