Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ingester-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-all</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ingester-bulk-protocol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-bulk-protocol</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ingester-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ingester-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-example</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ingester-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-grpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ingester-prometheus-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ global:
scrape_interval: 15s

scrape_configs:
- job_name: 'greptimedb ingester'
- job_name: 'greptimedb-ingester'
static_configs:
# Assuming that the ingester is running locally.
# The default HTTP port of 8090.
Expand Down
2 changes: 1 addition & 1 deletion ingester-prometheus-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>
<artifactId>ingester-prometheus-metrics</artifactId>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
* Exporter options.
*/
public class ExporterOptions implements Copiable<ExporterOptions> {
private Endpoint bind_addr;
private Endpoint bindAddr;
private boolean deamon;

public static ExporterOptions newDefault() {
ExporterOptions opts = new ExporterOptions();
opts.bind_addr = new Endpoint("0.0.0.0", 8090);
opts.bindAddr = new Endpoint("0.0.0.0", 8090);
opts.deamon = true;
return opts;
}

public Endpoint getBindAddr() {
return bind_addr;
return bindAddr;
}

public void setBindAddr(Endpoint bind_addr) {
this.bind_addr = bind_addr;
public void setBindAddr(Endpoint bindAddr) {
this.bindAddr = bindAddr;
}

public boolean isDeamon() {
Expand All @@ -52,13 +52,13 @@ public void setDeamon(boolean deamon) {
@Override
public ExporterOptions copy() {
ExporterOptions opts = new ExporterOptions();
opts.bind_addr = this.bind_addr;
opts.bindAddr = this.bindAddr;
opts.deamon = this.deamon;
return opts;
}

@Override
public String toString() {
return "ExporterOptions{" + "bind_addr=" + bind_addr + ", deamon=" + deamon + '}';
return "ExporterOptions{" + "bindAddr=" + bindAddr + ", deamon=" + deamon + '}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public boolean init(ExporterOptions opts) {
Endpoint bindAddr = opts.getBindAddr();
InetSocketAddress socketAddress = new InetSocketAddress(bindAddr.getAddr(), bindAddr.getPort());
this.server = new HTTPServer(socketAddress, this.prometheusMetricRegistry, opts.isDeamon());
LOG.info("Metrics exporter started at `http://{}:{}/metrics`", bindAddr.getAddr(), bindAddr.getPort());
LOG.info("Metrics exporter started at `http://{}/metrics`", bindAddr.toString());
return true;
} catch (IOException e) {
this.started.set(false);
Expand Down
2 changes: 1 addition & 1 deletion ingester-protocol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-protocol</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

client.version=0.14.4
client.version=0.14.5
2 changes: 1 addition & 1 deletion ingester-protocol/src/test/java/io/greptime/UtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public class UtilTest {
@Test
public void testClientVersion() {
String ver = Util.clientVersion();
Assert.assertEquals("0.14.4", ver);
Assert.assertEquals("0.14.5", ver);
}
}
2 changes: 1 addition & 1 deletion ingester-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
</parent>

<artifactId>ingester-rpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>io.greptime</groupId>
<artifactId>greptimedb-ingester</artifactId>
<version>0.14.4</version>
<version>0.14.5</version>
<packaging>pom</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down