Stage 11 - Collect statistics from the upgraded SC 3.6 SP2

Stage 11 - Collect statistics from the upgraded SC 3.6 SP2

Objective

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


Prerequisites

  1. A newly upgraded running instance of SC 3.6 SP2.

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


Steps

  1. Navigate to the home /web/home page of SC 3.6 SP2. Upon login you will see the Syndeia Dashboard. Scroll down to the Digital thread Thread Analytics section. You’ll see a pie chart similar to the following (yours will have different counts).

    image-20241011-160455.png

     

  2. Note down the individual counts for Artifacts, Containers, Relations, Repositories, and Digital Thread Projects ex:

    Repositories: 30 Containers: 42 Digital Thread Projects: 5 Artifacts: 586 Relations: 302
  3. Now note down the counts for each entity type by navigating to the Graph Queries tab and using the Query Builder drop-down to select each of the “…Types” entities

    image-20240906-205437.png

    Switch to the Table view modeimage-20240906-205603.pngand Record the number next to “VERTICES”. This number corresponds to the number of types.

    image-20240906-205926.png

    Repeat this process for ContainerType, RelationType, and RepositoryType, inserting these values to the previous list.

    Repositories: 30 Containers: 42 Digital Thread Projects: 5 Artifacts: 586 Relations: 302 Repository Types: 23 Container Types: 30 Artifact Types: 48 Relation Types: 55
  4. Now, we will gather statistics from Cassandra using the cassanalyze utility which comes as a part of the SC 3.6 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 30, :external 29, :internal 1}, :repositories_by_uri 30}, :cont-summary {:containers {:total 42, :external 37, :internal 5}, :containers_by_external_id 37, :containers_by_external_key 37, :containers_by_repository_key 42}, :art-summary {:artifacts {:total 586, :external 586, :internal 0, :latest 576}, :artifacts_by_external_id 586, :artifacts_by_external_key 586, :artifacts_by_key 586, :artifacts_by_container_key 576, :artifacts_by_type_key 576}, :rel-summary {:relations {:total 302, :external 0, :internal 302, :latest 292}, :relations_by_external_id 0, :relations_by_external_key 0, :relations_by_key 302, :relations_by_source_key 302, :relations_by_target_key 302, :relations_by_container_key 292}, :repo-types-summary {:repository_types {:total 23, :external 22, :internal 1}}, :cont-types-summary {:container_types {:total 30, :external 29, :internal 1}, :container_types_by_external_id 29, :container_types_by_external_key 29, :container_types_by_repository_key 30}, :art-types-summary {:artifact_types {:total 48, :external 48, :internal 0}, :artifact_types_by_external_id 48, :artifact_types_by_external_key 48, :artifact_types_by_repository_key 48}, :rel-types-summary {:relation_types {:total 55, :external 0, :internal 55}, :relation_types_by_external_id 0, :relation_types_by_external_key 0, :relation_types_by_repository_key 55}} "------------- summary (end) -------------"

Verification

Verify that the counts collected here match those we collected in the Stage 1 - Collect statistics from Original SC.

If you are migrating from SC 3.6 to 3.6 SP2, you will see 2 extra Relation-Type counts, this is expected and was added per fix 3.6.1 noted in the SC 3.6-SP1 Release Notes