All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datadoghq.trace.integration.Status404Decorator Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package com.datadoghq.trace.integration;

import com.datadoghq.trace.DDTags;
import io.opentracing.tag.Tags;

/** This span decorator protect against spam on the resource name */
public class Status404Decorator extends AbstractDecorator {

  public Status404Decorator() {
    super();
    this.setMatchingTag(Tags.HTTP_STATUS.getKey());
    this.setMatchingValue(404);
    this.setSetTag(DDTags.RESOURCE_NAME);
    this.setSetValue("404");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy