ClusterCockpit / cc-metric-collector

A node agent for measuring, processing and forwarding node level metrics
MIT License
4 stars 7 forks source link

Ccmessage migration #119

Open TomTheBear opened 3 months ago

TomTheBear commented 3 months ago

CCMessage is the second version of CCMetric. It now supports:

The cc-metric-collector currently uses only CCMetrics but other components in the ClusterCockpit ecosystem use the other types.

$ cd cc-metric-collector
$ export OLDURL="github.com/ClusterCockpit/cc-metric-collector/pkg/ccMetric"
$ export NEWURL="github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message"
$ find . -name "*.go" -exec \
   sed -i -e "s+${OLDURL}+${NEWURL}+g"\
            -e 's+lp.CCMetric+lp.CCMessage+g' \
            -e 's+lp.New+lp.NewMessage+g' {} \;