Skip to content

Conversation

@akilvein
Copy link
Contributor

  • Add config settings for grafana dashboards
  • GetMonitoringVolumeUrl returns link to grafana volume dashboard if grafana url is configured

@github-actions
Copy link
Contributor

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

optional string MonitoringUrlTemplate = 10;

// monitoring datasource pid for this ClusterName
optional string MonitoringDataSourcePid = 11;
Copy link
Collaborator

Choose a reason for hiding this comment

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

not necessary in opensource. we can safely use MonitoringProject

<< data.MonitoringClusterName << "&p.volume=" << diskId;

if (data.MonitoringUrlTemplate.empty()) {
// backward compatibility
Copy link
Collaborator

Choose a reason for hiding this comment

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

better to keep the old intact


auto substitute = [&result](TStringBuf placeholder, TStringBuf value)
{
SubstGlobal(result, placeholder, value);
Copy link
Collaborator

Choose a reason for hiding this comment

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

lambda is not needed

return out;
}

TString GetUrlFromTemplate(
Copy link
Collaborator

Choose a reason for hiding this comment

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

better to move to anonymous namespace

@akilvein akilvein changed the title Use grafana monitoring volume dasboard if available Evaluate Volume Monitoting dashboard URL using template from diagnostics config Dec 17, 2025
@debnatkh debnatkh added ok-to-test Label to approve test launch for external members blockstore Add this label to run only cloud/blockstore build and tests on PR labels Dec 18, 2025
@github-actions github-actions bot removed the ok-to-test Label to approve test launch for external members label Dec 18, 2025
@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 685f1b3.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5628 5627 0 0 0 1 0

@akilvein akilvein force-pushed the users/akilvein/volume-monitoring-url branch from 685f1b3 to aa3b9bc Compare December 18, 2025 12:40
@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit aa3b9bc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5649 5648 0 0 0 1 0

@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 3bc18eb.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5649 5648 0 0 0 1 0

debnatkh
debnatkh previously approved these changes Dec 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 125d148.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5650 5648 0 1 0 1 0

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 125d148.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
2 1 0 1 0 0 0

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 125d148.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
2 1 0 1 0 0 0

@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 12daad7.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5650 5649 0 0 0 1 0

@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit f81fa12.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5651 5650 0 0 0 1 0

debnatkh
debnatkh previously approved these changes Dec 22, 2025
@debnatkh debnatkh changed the title Evaluate Volume Monitoting dashboard URL using template from diagnostics config [Blockstore] Use templatable Volume Monitoting dashboard URL on the monitoring pages Dec 24, 2025

if (data.MonitoringUrlTemplate.empty()) {
return TStringBuilder()
<< data.MonitoringUrl << "/projects/" << data.MonitoringProject
Copy link
Collaborator

@agalibin agalibin Dec 24, 2025

Choose a reason for hiding this comment

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

тут беда с форматированием, до этого было правильное

<< data.MonitoringClusterName << "&p.volume=" << diskId;
}

return GetUrlFromTemplate(
Copy link
Collaborator

@agalibin agalibin Dec 24, 2025

Choose a reason for hiding this comment

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

Тут тоже. В целом clang прогнать на новый код и не надо об этом думать.

@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit ef84aee.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5651 5650 0 0 0 1 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blockstore Add this label to run only cloud/blockstore build and tests on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants