Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label cl_role not set #880

Open
dipakongit opened this issue Jul 25, 2024 · 0 comments
Open

Label cl_role not set #880

dipakongit opened this issue Jul 25, 2024 · 0 comments

Comments

@dipakongit
Copy link

dipakongit commented Jul 25, 2024

Hello
Testing on percona mongodb
db.version(); 6.0.4
percona version: 0.40.0

Label cl_role not set correctly
mongodb_dbstats_avgObjSize{cl_id="6405e810149771e1273338c7",cl_role="",database="admin",rs_nm="shard1",rs_state="2"} 221.11111111111111

Command db.adminCommand( { getCmdLineOpts: 1 } ) return:
shard1 [primary] admin> db.adminCommand( { getCmdLineOpts: 1 } );
{
replication: { oplogSizeMB: 20480, replSetName: 'shard1' },
sharding: { clusterRole: 'shardsvr' },
}

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

No branches or pull requests

1 participant