Skip to content

Commit

Permalink
Merge branch 'main' into custom-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-sonpatki authored May 20, 2024
2 parents 2fcf2b1 + 7a84044 commit e9f5a9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/OpenAPM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export type ExtractFromParams = {
export type DefaultLabels =
| 'environment'
| 'program'
| 'ip'
| 'version'
| 'host';

Expand Down Expand Up @@ -187,8 +186,7 @@ export class OpenAPM extends LevitateEvents {
environment: this.environment,
program: packageJson?.name ?? '',
version: packageJson?.version ?? '',
host: os.hostname(),
ip: getHostIpAddress(),
host: os.hostname(),
...this.defaultLabels
};

Expand Down

0 comments on commit e9f5a9d

Please sign in to comment.