Stage 12 - Collect statistics from the migrated SC 3.5

Stage 12 - Collect statistics from the migrated SC 3.5

Objective

To gather Graph and Cassandra related statistics from the running instance of SC 3.5.


Prerequisites

  1. A newly migrated running instance of SC 3.5.

  2. cassanalyze (v 0.2) command-line utility downloaded.


Steps

  1. Navigate to the home /home page of SC 3.5 where you see the Syndeia Dashboard. Scroll down to the Digital thread object count by Syndeia domain types section. You’ll see a bar graph similar to the following.

  2. If you hover over any of the bars in the bar graph, you’ll see the count for that bar mentioned inline (as shown below).

  3. Hover over each of the bars in the bar graph, and note down the individual counts, so e.g. in the above case, the various counts (from Graph) were as shown below.

    Artifacts: 26230 Artifact Types: 424 Containers: 1524 Container Types: 145 Relations: 12194 Relation Types: 71 Repositories: 104 Repository Types: 22
  4. Now, we will gather statistics from Cassandra using the cassanalyze utility which comes as a part of the SC 3.5 downloads. The guide to cassanalyze can be found here. Run Steps (1), (2) & (3) to gather the summary data from the Steps to run the utility / tool section of the guide. The output should be similar to as shown below.

    "------------- summary (begin) -------------" {:repo-summary {:repositories {:total 105, :external 104, :internal 1}, :repositories_by_uri 104}, :cont-summary {:containers {:total 1545, :external 1327, :internal 218}, :containers_by_external_id 1327, :containers_by_external_key 1327, :containers_by_repository_key 1545}, :art-summary {:artifacts {:total 26528, :external 26494, :internal 34, :latest 25134}, :artifacts_by_external_id 26493, :artifacts_by_external_key 26477, :artifacts_by_key 26528, :artifacts_by_container_key 25134, :artifacts_by_type_key 25134}, :rel-summary {:relations {:total 12194, :external 4221, :internal 7973, :latest 11694}, :relations_by_external_id 4221, :relations_by_external_key 4221, :relations_by_key 12194, :relations_by_source_key 12194, :relations_by_target_key 12194, :relations_by_container_key 11694}, :repo-types-summary {:repository_types {:total 22, :external 21, :internal 1}}, :cont-types-summary {:container_types {:total 147, :external 146, :internal 1}, :container_types_by_external_id 146, :container_types_by_external_key 146, :container_types_by_repository_key 147}, :art-types-summary {:artifact_types {:total 428, :external 423, :internal 5}, :artifact_types_by_external_id 423, :artifact_types_by_external_key 423, :artifact_types_by_repository_key 428}, :rel-types-summary {:relation_types {:total 71, :external 13, :internal 58}, :relation_types_by_external_id 14, :relation_types_by_external_key 13, :relation_types_by_repository_key 71}} "------------- summary (end) -------------"

Verification

You should have been able to gather the statistics from both Graph and Cassandra of the newly migrated SC 3.5.

The various counts for Graph and Cassandra should match the respective counts that we collected in the Stage 1 - Collect statistics from SC 3.4.