Skip to content

Commit

Permalink
fix(schema): fix attribute types for NR and Dynatrace reporters (#2658)
Browse files Browse the repository at this point in the history
  • Loading branch information
InesNi committed Apr 23, 2024
1 parent 2ec5be4 commit be18228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/types/schema/plugins/publish-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const NewRelicReporterSchema = Joi.object({
serviceName: Joi.string(),
sampleRate: artilleryNumberOrString,
useRequestNames: artilleryBooleanOrString,
attributes: Joi.object().unknown(),
attributes: Joi.array().items(Joi.string()),
smartSampling: Joi.object({
thresholds: Joi.object({
firstByte: artilleryNumberOrString,
Expand Down Expand Up @@ -167,7 +167,7 @@ const DynatraceReporterSchema = Joi.object({
serviceName: Joi.string(),
sampleRate: artilleryNumberOrString,
useRequestNames: artilleryBooleanOrString,
attributes: Joi.object().unknown(),
attributes: Joi.array().items(Joi.string()),
smartSampling: Joi.object({
thresholds: Joi.object({
firstByte: artilleryNumberOrString,
Expand Down

0 comments on commit be18228

Please sign in to comment.