Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matewilk committed Feb 24, 2025
1 parent ae79d2c commit 0730c0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# SLI Workload vizualization

This vizualisation is visualising SLI data per entity based on an entity GUID.
This vizualisation displays SLI data for the last X days for a given entity.

<img width="1500" alt="Image" src="https://github.com/user-attachments/assets/08e11f9c-6423-4bc6-878b-fed0edd490ab" />

#### Configuration

The configuration options are:

- NRQL query, please use the following query for SLI visualisation:
Expand All @@ -18,6 +20,15 @@ The configuration options are:
- Entity GUID, please use the entity GUID of the entity you want to visualise SLI data for.
- Entity Name - (optional) name for the column header you want to assign to the entity with a given GUID.

Thresholds:

- Warning threshold - the value at which the SLI is considered to be in a warning state.
- Critical threshold - the value at which the SLI is considered to be in a critical state.

You can use decimal values for the thresholds, for example, `99.95` for 99.95% uptime.

Thresholds highlight the SLI values when they are below the warning threshold or critical threshold.

#### Development

##### Running the nerdlet locally
Expand Down
3 changes: 1 addition & 2 deletions visualizations/workload/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const App = () => {
<TableHeaderCell>Date</TableHeaderCell>
{accountIdList.map((accountIdListElement) => (
<TableHeaderCell key={accountIdListElement.entityGuid}>
{accountIdListElement.entityName ??
{accountIdListElement.entityName ||
accountIdListElement.entityGuid}
</TableHeaderCell>
))}
Expand All @@ -70,7 +70,6 @@ const App = () => {
{entityData.get(item)}
</TableRowCell>
);
console.log(data);
})}
</TableRow>
)}
Expand Down

0 comments on commit 0730c0a

Please sign in to comment.