mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-03-15 03:15:56 +01:00
Undo deleted files
This commit is contained in:
parent
325ab9b27d
commit
9bcc1cf456
20
cc-metric-store/Dockerfile
Normal file
20
cc-metric-store/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FROM golang:1.22.4
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get -y install git
|
||||||
|
|
||||||
|
RUN git clone https://github.com/ClusterCockpit/cc-metric-store.git /cc-metric-store
|
||||||
|
RUN ls
|
||||||
|
RUN cd /cc-metric-store && go build ./cmd/cc-metric-store
|
||||||
|
|
||||||
|
# Reactivate when latest commit is available
|
||||||
|
#RUN go get -d -v github.com/ClusterCockpit/cc-metric-store
|
||||||
|
#RUN go install -v github.com/ClusterCockpit/cc-metric-store@latest
|
||||||
|
|
||||||
|
RUN mv /cc-metric-store/cc-metric-store /go/bin
|
||||||
|
COPY config.json /go/bin
|
||||||
|
|
||||||
|
VOLUME /data
|
||||||
|
|
||||||
|
WORKDIR /go/bin
|
||||||
|
CMD ["./cc-metric-store"]
|
28
cc-metric-store/config.json
Normal file
28
cc-metric-store/config.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"metrics": {
|
||||||
|
"clock": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"cpi": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"cpu_load": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"flops_any": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"flops_dp": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"flops_sp": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"ib_bw": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"lustre_bw": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"mem_bw": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"mem_used": { "frequency": 60, "aggregation": null, "scope": "node" },
|
||||||
|
"rapl_power": { "frequency": 60, "aggregation": null, "scope": "node" }
|
||||||
|
},
|
||||||
|
"checkpoints": {
|
||||||
|
"interval": 100000000000,
|
||||||
|
"directory": "/data/checkpoints",
|
||||||
|
"restore": 100000000000
|
||||||
|
},
|
||||||
|
"archive": {
|
||||||
|
"interval": 100000000000,
|
||||||
|
"directory": "/data/archive"
|
||||||
|
},
|
||||||
|
"retention-in-memory": 100000000000,
|
||||||
|
"http-api-address": "0.0.0.0:8081",
|
||||||
|
"nats": "nats://cc-nats:4222",
|
||||||
|
"jwt-public-key": "kzfYrYy+TzpanWZHJ5qSdMj5uKUWgq74BWhQG6copP0="
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user