Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Sep 27, 2024
1 parent 8fb95c8 commit be94b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telemetry/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class TelemetryConfiguration implements TelemetryConfig {
* @readonly
* @type {Set<TelemetryAttribute>}
*/
public static readonly validAttriburtes: Set<TelemetryAttribute> = new Set<TelemetryAttribute>([
public static readonly validAttributes: Set<TelemetryAttribute> = new Set<TelemetryAttribute>([
TelemetryAttribute.HttpHost,
TelemetryAttribute.HttpResponseStatusCode,
TelemetryAttribute.UserAgentOriginal,
Expand Down Expand Up @@ -115,7 +115,7 @@ export class TelemetryConfiguration implements TelemetryConfig {
* @throws {FgaValidationError} Throws an error if any attribute in the metric configurations is invalid.
*/
public ensureValid(): void {
const validAttrs = TelemetryConfiguration.validAttriburtes;
const validAttrs = TelemetryConfiguration.validAttributes;

const counterConfigAttrs = this.metrics?.counterCredentialsRequest?.attributes || new Set<TelemetryAttribute>();
counterConfigAttrs.forEach(counterConfigAttr => {
Expand Down

0 comments on commit be94b36

Please sign in to comment.