Skip to content

Commit 3e96021

Browse files
Update README.md
1 parent 6f01dc8 commit 3e96021

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

README.md

+9-16
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,18 @@ Junos Telemetry Interface client
77
## Setup
88

99
```sh
10-
go get github.com/nileshsimaria/jtimon
11-
$GOPATH/bin/jtimon --help
12-
```
13-
14-
OR
15-
16-
```sh
17-
git clone https://github.com/nileshsimaria/jtimon.git
18-
cd jtimon
19-
make linux or make darwin
20-
./jtimon-linux-amd64 --help or jtimon-darwin-amd64 --help
10+
$ git clone https://github.com/nileshsimaria/jtimon.git
11+
$ cd jtimon
12+
$ make linux or make darwin
13+
$ ./jtimon-linux-amd64 --help or jtimon-darwin-amd64 --help
2114
```
2215

2316
Please note that if you use make to build source, it will produce binary with GOOS and GOARCH names e.g. jtimon-darwin-amd64, jtimon-linux-amd64 etc. Building the source using make is recommended as it will insert git-revision, build-time info in the binary.
2417

2518
To understand what targets are available in make, run the make help command as follows:
2619

2720
```sh
28-
make help
21+
$ make help
2922
```
3023

3124
### Note
@@ -48,7 +41,7 @@ Check the resulting image:
4841
```sh
4942
$ docker images jtimon
5043
REPOSITORY TAG IMAGE ID CREATED SIZE
51-
jtimon latest 3b7622e1464f 6 minutes ago 174MB
44+
jtimon latest f1a794609339 7 minutes ago 24.5MB
5245
```
5346

5447
Run it:
@@ -68,7 +61,7 @@ Enter config file name: bla.json
6861
## CLI Options
6962

7063
```
71-
root@vm-hb1:~/jtimon-kafka-publish# ./jtimon-linux-amd64 --help
64+
$ ./jtimon-linux-amd64 --help
7265
Usage of ./jtimon-linux-amd64:
7366
--compression string Enable HTTP/2 compression (gzip)
7467
--config strings Config file name(s)
@@ -99,7 +92,7 @@ To explore what can go in config, please use --explore-config option.
9992
Except connection details like host, port, etc no other part of the config is mandatory e.g. do not use influx in your config if you dont want to insert data into it.
10093

10194
```
102-
./jtimon-linux-amd64 --explore-config [8/1981]
95+
$ ./jtimon-linux-amd64 --explore-config [8/1981]
10396
2021/10/02 17:15:22 Version: v2.3.0-7bfd8fdf2fcae1d55079e3d9eceb761be0842eae-master BuildTime 2021-10-02T19:51:16-0400
10497
2021/10/02 17:15:22
10598
{
@@ -184,7 +177,7 @@ grpc/ws : window size of grpc for slower clients
184177
To publish gRPC/Openconfig JTI data to Kafka, use the following json config.
185178

186179
```
187-
cat kafka-test-1.json
180+
$ cat kafka-test-1.json
188181
{
189182
"host": "2.2.2.2",
190183
"port": 32767,

0 commit comments

Comments
 (0)