Skip to content

Commit

Permalink
Resolve PR reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandShivansh committed Jun 19, 2024
1 parent a51d5d7 commit 05beb61
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public interface ExcludeSpanRuleUpdate extends Identifiable {

@GraphQLField
@GraphQLName(SPAN_PROCESSING_FILTER_KEY)
@GraphQLDescription("Update the existing spanFilters for the input ruleId")
@GraphQLDescription("Replace the existing spanFilters for the input ruleId")
@GraphQLNonNull
SpanProcessingRuleFilter spanFilter();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ public interface SpanProcessingMutationSchema {

@GraphQLField
@GraphQLName(CREATE_EXCLUDE_SPAN_RULE_MUTATION_NAME)
@GraphQLDescription(
"Create exclude span rule by providing the rule name, filters, rule type, enabled or disabled state")
@GraphQLDescription("Creates a new ExcludeSpanRule. See ExcludeSpanRule for more information.")
@GraphQLNonNull
@GraphQLDataFetcher(ExcludeSpanCreateRuleMutator.class)
ExcludeSpanRule createExcludeSpanRule(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@GraphQLName(ExcludeSpanRule.TYPE_NAME)
@GraphQLDescription(
"Exclude span rules are the set of rules created using filters on span attributes based on which we exclude spans at source from reaching the platform")
"An ExcludeSpanRule describes a set of conditions based on span attributes. When matched, a span is discarded and not eligible for further processing.")
public interface ExcludeSpanRule extends Identifiable, ExcludeSpanRuleInfo {
String TYPE_NAME = "ExcludeSpanRule";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public interface ExcludeSpanRuleInfo {
@GraphQLField
@GraphQLName(DISABLED_KEY)
@GraphQLDescription(
"Disabled field denotes whether the rule is disabled or not. By default it is enabled")
"Disabled field denotes whether the rule is disabled or not. By default it is enabled on write")
@GraphQLNonNull
boolean disabled();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface SpanProcessingRelationalFilter {
@GraphQLField
@GraphQLName(SPAN_PROCESSING_FILTER_KEY_KEY)
@GraphQLDescription(
"Span processing filter key is the span attribute provided as string like http.request.body.email")
"Span processing filter key is the span attribute provided as string like http.request.header.authorization")
String key();

@GraphQLField
Expand Down

0 comments on commit 05beb61

Please sign in to comment.