Create a compass
A compass is a list of rules that Astrolabe checks on your components. You write the rules (assessments) first, then you group them in a compass.
Before you startβ
You need to be an administrator, and Compass must be on (Turn on Compass).
1. π Create an assessmentβ
An assessment is one rule: "this datapoint, compared this way, with this value".
-
In Administration, under INTELLIGENCE, click Compass, then the Assessments tab.
-
Click Create Assessment.
-
Fill in the form:
Field What to write Example Name What the rule checks Has an on-call scheduleDescription Why it matters Someone is on call for it.Datasource Where the value comes from CatalogDatapoint The value to read PagerDuty SetPasses when the check is What it must be TrueA yes-or-no datapoint, like this one, asks only Passes when the check is. A datapoint that reads a number (a count, a duration, a percentage) asks an Operator and a Value instead, for example
Greater thanand80.Under Rules, All Of means every rule must pass, Any Of means one is enough. Click Add Rule for a second rule.
-
Click Save. Assessment saved successfully appears, and the rule is in the table.
The Data Sources tab lists every datasource and datapoint. A datasource other than Catalog (GitHub, GitLab, Jira, SonarQube, Azure, Repository) needs its connection in Administration βΊ Company connections.
2. π§ Create the compassβ
-
Click the Compasses tab, then Create Compass.
-
Fill in the form:
Field What to write Example Name The name of the compass Production readinessDescription What it is for What a service needs before it goes to production.Entity Kind The kind of entity it grades ComponentEntity Type A type, or allallOwners (optional) Only the components of these owners -
Under Assessments, click Add Assessment. Tick the rules to use (Select All ticks them all), then click Save Selected Assessments.
-
Click Save. Compass created appears, and you are back on the Compasses tab, where the compass has its card.
3. β Turn it onβ
-
On the card of the new compass, click the switch at the top right. Compass updated appears.
-
Click the score link on the card. The Scores tab shows a column for your compass.
β That's it!
Next: Run a campaign.