Skip to content

Commit

Permalink
Added NormalizeTagPlugin support merges #1525
Browse files Browse the repository at this point in the history
  • Loading branch information
johann8384 committed Dec 12, 2024
1 parent f6ea437 commit a81e386
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ tsdb_SRC := \
src/meta/TSMeta.java \
src/meta/TSUIDQuery.java \
src/meta/UIDMeta.java \
src/normalize/NormalizePlugin.java \
src/query/QueryUtil.java \
src/query/QueryLimitOverride.java \
src/query/expression/Absolute.java \
Expand Down
21 changes: 21 additions & 0 deletions src/normalize/NormalizePlugin.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package net.opentsdb.normalize;

import com.stumbleupon.async.Deferred;
import net.opentsdb.core.TSDB;
import net.opentsdb.stats.StatsCollector;

import java.util.Map;

public abstract class NormalizePlugin {

public abstract void initialize(final TSDB tsdb);

public abstract Deferred<Object> shutdown();

public abstract String version();

public abstract void collectStats(final StatsCollector collector);

public abstract Map<String, String> normalizeTags(Map<String, String> tags);

}

0 comments on commit a81e386

Please sign in to comment.