Skip to content

Commit

Permalink
Increase the character limit of the `MeterProviderBuilderSdk1's Instr…
Browse files Browse the repository at this point in the history
…umentNameRegex
  • Loading branch information
B3zaleel committed Aug 23, 2023
1 parent 0d1cc36 commit d2d5edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public MeterProviderBuilderSdk(IServiceProvider serviceProvider)
// Customers: This is not guaranteed to work forever. We may change this
// mechanism in the future do this at your own risk.
public static Regex InstrumentNameRegex { get; set; } = new(
@"^[a-z][a-z0-9-._]{0,62}$", RegexOptions.IgnoreCase | RegexOptions.Compiled);
@"^[a-z][a-z0-9-._]{0,254}$", RegexOptions.IgnoreCase | RegexOptions.Compiled);

public List<InstrumentationRegistration> Instrumentation { get; } = new();

Expand Down

0 comments on commit d2d5edf

Please sign in to comment.