cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
875
Views
0
Helpful
1
Replies

Pipeline Only Writes to Influx with gRPC Telemetry (not TCP)

brfoster
Cisco Employee
Cisco Employee

Team,

 

In my testbed I have pipeline working with xrv9000 devices with gRPC telemetry.  Everything is working properly and writing to the Influx database and also I can use the Grafana.

 

However, if I change the telemetry to messages to use JSON/TCP, it stops writing to the Influx database. 

But, I can still see the messages coming and written to the dump.txt log file.

I'm just using the standard metrics.json file and the Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters sensor path.

 

If I change the messages back to gRPC it starts working again!

 

The original examples Shelly has in her blog were using TCP, so I'm not sure if something has been broken since then?

 

1 Accepted Solution

Accepted Solutions

brfoster
Cisco Employee
Cisco Employee

Hi, I'm closing this query.  I realized I needed gpb endoding instead of json.  That fixed my issue and it works now with both Pipeline and Telegraf.

 

 destination-group DGroup2
  address-family ipv4 172.16.1.189 port 57500
   encoding self-describing-gpb
   protocol tcp
  !
 !

View solution in original post

1 Reply 1

brfoster
Cisco Employee
Cisco Employee

Hi, I'm closing this query.  I realized I needed gpb endoding instead of json.  That fixed my issue and it works now with both Pipeline and Telegraf.

 

 destination-group DGroup2
  address-family ipv4 172.16.1.189 port 57500
   encoding self-describing-gpb
   protocol tcp
  !
 !