Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ public interface SCMMXBean extends ServiceRuntimeInfo {
Map<String, Integer> getContainerStateCount();

Map<String, String> getRuleStatusMetrics();

String getScmId();

String getClusterId();
}
Original file line number Diff line number Diff line change
Expand Up @@ -1141,4 +1141,12 @@ public Map<String, String> getRuleStatusMetrics() {
public PipelineChoosePolicy getPipelineChoosePolicy() {
return this.pipelineChoosePolicy;
}

public String getScmId() {
return getScmStorageConfig().getScmId();
}

public String getClusterId() {
return getScmStorageConfig().getClusterID();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<h2>SCM Information</h2>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>Scm Id:</td>
<td>{{$ctrl.overview.jmx.ScmId}}</td>
</tr>
<tr>
<td>Cluster Id:</td>
<td>{{$ctrl.overview.jmx.ClusterId}}</td>
</tr>
</tbody>
</table>

<h2>Node counts</h2>

<table class="table table-bordered table-striped" class="col-md-6">
Expand Down