hidden

Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

Visualizing Influx metrics with Grafana

Grafana is a data visualization and monitoring tool allowing you to show metrics stored for example in InfluxDB as charts. It gives you possibility to create dashboards to link charts or histograms into connected groups. Thanks to built-in InfluxDB support it automatically handles provided aggregation functions. Query editor supports also tag or field completion.

Maciej Szafraniec

|

20 mar 2019

  Databases 

Read more
3

Visualizing Influx metrics with Grafana

20 mar 2019 | Maciej Szafraniec

  Databases 

Grafana is a data visualization and monitoring tool allowing you to show metrics stored for example in InfluxDB as charts. It gives you possibility to create dashboards to link charts or histograms into connected groups. Thanks to built-in InfluxDB support it automatically handles provided aggregation functions. Query editor supports also tag or field completion.

Read more
4

Mocking objects with Python

06 mar 2019 | Marcin Halastra

Mocking is just pretending to be and simulating specific behavior, we can replace our code’s parts with fake objects and verify how system behaves. At some point our system’s code starts to be complicated and have so many dependencies what makes it impossible to test without mocks. To cover all corner cases or to freely control our test scenario flow we have to simulate part of functionality – we have to force it to behave in exact way we want. For this purpose python uses unitest.mock library which is a standard library starting from Python 3.3 (for older versions installation is required).

Read more
5

Introduction to performance tests using JMeter

27 Feb 2019 | Dominik Stolarski

JMeter is an open-source JAVA-based load testing tool for measuring and analyzing performance of services and applications. It simulates user behavior by sending requests to server. It can be used for testing variety of protocols and services like HTTP, HTTPS, SOAP / REST Webservices, FTP, JDBC, LDAP, SMTP, POP3, IMAP and many others.

Read more
6

Using InfluxDB to store performance metrics

13 Feb 2019 | Maciej Szafraniec

  Databases 

InfluxDB it is a database oriented on time series. It was designed to accept large number of queries and write requests. It is perfect for storing timestamped data – data we would like to query by timestamp rather than index. It supports SQL-like language to easily pull data off as well as JSON requests through HTTP API. Influx uses tags and fields - tags to easily index series of data (you can query by it after where clause) and fields for keeping values (select field_1, field_2 from … )

Read more
7

Pytest - why it's more popular than unittest?

06 Feb 2019 | Karol Wybraniec

In my professional career I used to write tests with both frameworks: unittest and pytest. Both are great tools with certain pros and cons, but pytest is significantly more popular these days. In this short blogpost I am going to share with you a couple of pytest’s features, that in my opinion, provide the answer for the heading question.

Read more
8

Parametrized tests - solutions overview (TestNG, JUnit4, JUnit5)

07 Nov 2018 | Paweł Proc

Parametrized tests are a lot easier to maintain. Usually when single requirement changes it’s enough to change one variable in the code. You don’t have to read the whole implementation of the test (If you know what your variable means).

Read more
9

How to make Nigthwatch.js library work with async/await?

25 Oct 2018 | Paweł Proc

Although it's quite powerful tool, you need to customize it to get the full benefit of it. One of these improvements is usage of async/await commands (from Node 7.6 version). In this article I am going to show you how to adjust your code to make this commands work.

Read more
10

The benefits of Code Reviews

10 Oct 2018 | Maciej Krzysica

Are you tired of scrolling through dozens of red and green files in code reviews, only to click “Reviewed” after a few minutes of staring at the screen? You should be. Because this is not the point of reviewing the code.

Read more
11

Node.js module testing with Chai and Sinon framework

03 Oct 2018 | Grzegorz Wziątek

In this article I will show you how to write unit tests for Node.js modules and its dependencies from scratch.

Read more
Page 1 of 7