cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
270
Views
0
Helpful
1
Replies
Cisco Employee

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

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
Highlighted
Cisco Employee

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

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
Highlighted
Cisco Employee

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

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here
This widget could not be displayed.