Skip to content

Commit

Permalink
fix: Deprecate the label truncation functionality (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Nov 10, 2024
1 parent eacf291 commit f18a595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions corefuncprovider/str_truncate_label_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func (f *strTruncateLabelFunction) Definition(
section is truncated as a factor of how much space it takes up in the merged
string.
**DEPRECATED:** This function is deprecated and will be removed in the 2.0.0
release. It's a bit too specialized to be useful in a general-purpose library.
-> The motivation for this is in working with monitoring systems such
as New Relic and Datadog where there are hundreds of applications in a
monitoring “prod” account, and also hundreds of applications in a monitoring
Expand Down
3 changes: 3 additions & 0 deletions corefuncprovider/truncate_label_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ func (d *truncateLabelDataSource) Schema(
section is truncated as a factor of how much space it takes up in the merged
string.
**DEPRECATED:** This function is deprecated and will be removed in the 2.0.0
release. It's a bit too specialized to be useful in a general-purpose library.
-> The motivation for this is in working with monitoring systems such
as New Relic and Datadog where there are hundreds of applications in a
monitoring “prod” account, and also hundreds of applications in a monitoring
Expand Down

0 comments on commit f18a595

Please sign in to comment.