Skip to content

Commit

Permalink
fix(rules): add HyperDX
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 12, 2023
1 parent fe76a1f commit cb327c3
Show file tree
Hide file tree
Showing 6 changed files with 50 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 @@ -193,6 +193,7 @@ exports[`all > should match everything 1`] = `
"httpd",
"hubspot",
"huggingface",
"hyperdx",
"hypertune",
"influxdb",
"intuit",
Expand Down
15 changes: 15 additions & 0 deletions src/rules/monitoring/hyperdx.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { register } from '../../register.js';

register({
tech: 'hyperdx',
name: 'HyperDX',
type: 'monitoring',
dependencies: [
{ type: 'npm', name: '@hyperdx/browser' },
{ type: 'npm', name: '@hyperdx/node-logger' },
{ type: 'npm', name: '@hyperdx/node-opentelemetry' },
{ type: 'npm', name: '@hyperdx/deno' },
{ type: 'npm', name: '@hyperdx/otel-react-native' },
{ type: 'golang', name: 'github.com/hyperdxio/hyperdx-go' },
],
});
1 change: 1 addition & 0 deletions src/rules/monitoring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import './blackfire.js';
import './datadog.js';
import './gcp.logging.js';
import './healthchecksio.js';
import './hyperdx.js';
import './newrelic.js';
import './onlineornot.js';
import './pingdom.js';
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/golang/__snapshots__/lockfile.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ exports[`golang (lockfile) > should match everything 1`] = `
"gcp.vision",
"gitguardian",
"golang",
"hyperdx",
"launchdarkly",
"lemonsqueezy",
"logstash",
Expand Down Expand Up @@ -525,6 +526,11 @@ exports[`golang (lockfile) > should match everything 2`] = `
"github.com/hashicorp/terraform-plugin-sdk/v2",
"v1.0.0",
],
[
"golang",
"github.com/hyperdxio/hyperdx-go",
"v1.0.0",
],
[
"golang",
"github.com/launchdarkly/go-sdk-common/v3",
Expand Down
26 changes: 26 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ exports[`npm > should match everything 1`] = `
"github",
"hotjar",
"huggingface",
"hyperdx",
"hypertune",
"influxdb",
"jira",
Expand Down Expand Up @@ -968,6 +969,31 @@ exports[`npm > should match everything 2`] = `
"@huggingface/inference",
"0.0.0",
],
[
"npm",
"@hyperdx/browser",
"0.0.0",
],
[
"npm",
"@hyperdx/deno",
"0.0.0",
],
[
"npm",
"@hyperdx/node-logger",
"0.0.0",
],
[
"npm",
"@hyperdx/node-opentelemetry",
"0.0.0",
],
[
"npm",
"@hyperdx/otel-react-native",
"0.0.0",
],
[
"npm",
"@iamtraction/google-translate",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export type AllowedKeys =
| 'httpd'
| 'hubspot'
| 'huggingface'
| 'hyperdx'
| 'hypertune'
| 'influxdb'
| 'intuit'
Expand Down

0 comments on commit cb327c3

Please sign in to comment.