Skip to content

Commit

Permalink
fix(rules): add Signoz
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Nov 7, 2023
1 parent 0a6f7f5 commit 7535225
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ exports[`all > should match everything 1`] = `
"servicenow",
"shopify",
"shopify.hydrogen",
"signoz",
"sitecore",
"sitecore.xmlcloud",
"slack",
Expand Down
1 change: 1 addition & 0 deletions src/rules/monitoring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ import './prometheus.js';
import './rollbar.js';
import './scoutapm.js';
import './sentry.js';
import './signoz.js';
import './uptimekuma.js';
14 changes: 14 additions & 0 deletions src/rules/monitoring/signoz.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { register } from '../../register.js';

register({
tech: 'signoz',
name: 'Signoz',
type: 'monitoring',
dependencies: [
{ type: 'docker', name: 'signoz/frontend' },
{ type: 'docker', name: 'signoz/alertmanager' },
{ type: 'docker', name: 'signoz/query-service' },
{ type: 'docker', name: 'signoz/signoz-otel-collector' },
{ type: 'docker', name: 'signoz/locust' },
],
});
26 changes: 26 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ exports[`docker > should match everything 1`] = `
"rust",
"selenium",
"sentry",
"signoz",
"slack",
"snyk",
"sonarqube",
Expand Down Expand Up @@ -1087,6 +1088,31 @@ exports[`docker > should match everything 2`] = `
"sentryintegrations/sentry-github-action-release",
"0.0.0",
],
[
"docker",
"signoz/alertmanager",
"0.0.0",
],
[
"docker",
"signoz/frontend",
"0.0.0",
],
[
"docker",
"signoz/locust",
"0.0.0",
],
[
"docker",
"signoz/query-service",
"0.0.0",
],
[
"docker",
"signoz/signoz-otel-collector",
"0.0.0",
],
[
"docker",
"snyk/broker",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export type AllowedKeys =
| 'servicenow'
| 'shopify.hydrogen'
| 'shopify'
| 'signoz'
| 'sitecore.xmlcloud'
| 'sitecore'
| 'slack'
Expand Down

0 comments on commit 7535225

Please sign in to comment.