package com.lanyuanxiaoyao.service.forest.service.loki;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.lanyuanxiaoyao.service.configuration.entity.loki.LokiLogLine;
import java.util.Map;
import org.eclipse.collections.api.list.ImmutableList;

/**
 * @author lanyuanxiaoyao
 * @date 2023-05-25
 */
@BaseRequest(baseURL = "http://service-loki-query")
public interface LokiService {
    @Get("/loki/query_range")
    ImmutableList<LokiLogLine> queryRange(@Query Map<String, String> queryMap);
}
