
com.dripstat.annotations.CustomHostname Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dripstat-api Show documentation
Show all versions of dripstat-api Show documentation
API for DripStat Java Agent
The newest version!
package com.dripstat.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Uses the hostname specifed instead of the actual hostname used for making external service calls.
* Used to prevent metric grouping issues when you are calling an unlimited number of domains, eg during web crawling.
* Parent class must contain @CustomHostnameContainer
annotation.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface CustomHostname
{
/**
* @return custom domain name. Can contain only alphabets and digits
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy