Skip to content

Conversation

@DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Aug 1, 2022

dashboard: set default Prometheus job

Set default Prometheus job to tarantool. After this patch, it will be possible to import dashboard with community.ansible.ansible_dashboard, if Prometheus is configured to collect Tarantool metrics with
tarantool` job.

This patch also changes all examples job names to tarantool.

dashboard: set default InfluxDB measurement

Set default InfluxDB measurement to tarantool_http. After this patch, it will be possible to import dashboard with
community.ansible.ansible_dashboard, if Telegraf is configured to collect Tarantool metrics with http plugin and tarantool_ prefix.

This patch also changes all examples measurement names to tarantool_http.

Closes #138

Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little confusion with JOB variables from my point of view.

LGTM, but I have few quastions.

type='constant',
pluginId=null,
pluginName=null,
value='tarantool',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand this is the default value for a user input? Does it make sense to change it too with the JOB value?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Templating dashboards are built as part of tests, they do not have separate make tests and are built with libsonnet module imports.

Set default Prometheus job to "tarantool". After this patch, it will be
possible to import dashboard with community.ansible.ansible_dashboard,
if Prometheus is configured to collect Tarantool metrics with
"tarantool" job.

This patch also changes all examples job names to "tarantool".

Part of #138
Set default InfluxDB measurement to "tarantool_http". After this patch,
it will be possible to import dashboard with
community.ansible.ansible_dashboard, if Telegraf is configured to
collect Tarantool metrics with http plugin and "tarantool_" prefix.

This patch also changes all examples measurement names
to "tarantool_http".

Closes #138
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/138-default-job branch from 8094b7a to 001bbf9 Compare August 3, 2022 10:38
@DifferentialOrange DifferentialOrange merged commit eb0990b into master Aug 3, 2022
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/138-default-job branch August 3, 2022 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use default Prometheus job

3 participants