moevm / moevm/OS-Image-Testing

Сброс метрик VM в PostgreSQL

Open
#331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Необходимо:

  1. Добавить использование расширения TimescaleDB совместо с PostgreSQL. Посмотреть на докер образы https://hub.docker.com/r/timescale/timescaledb, возможно можно будет просто задействовать и внутри будет и PostgreSQL со всем необходимым и расширением TimescaleDB.
  2. Понять, как загружать данные, собранные с помощью VM в TimescaleDB и скидывать данные после тестов.
    Посмотреть в сторону Telegraf, чтобы вообще не использовать VM.
  3. Для пункта 2 понять, как можно разделить метрики с разных тестов и конфигураций, чтобы потом можно было отличить для каких систем они были собраны.
  4. Поправить запросы к Victoria Metrics на запросы к PostgreSQL в коде.
  5. Обновить имеющуюся документацию.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that queries Victoria Metrics, the Docker or deployment configuration, and the existing documentation for VM metrics. Review the TimescaleDB image and Telegraf options, then define how test and configuration identity will be stored and how metrics will be cleared. Done means PostgreSQL/TimescaleDB collection works, queries are migrated, cleanup and separation are verified, and the documentation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql, python
Domain
databases, documentation, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.