docs updates

This commit is contained in:
Jonathan Shook
2025-01-06 09:32:01 -06:00
parent de2e609ff4
commit a0862703ec
6 changed files with 56 additions and 32 deletions

View File

@@ -70,7 +70,7 @@ public class DiagDriverAdapter extends BaseDriverAdapter<DiagOp, DiagSpace> impl
@Override
public NBConfigModel getConfigModel() {
NBConfigModel model = getConfigModel();
NBConfigModel model = super.getConfigModel();
model.add(DiagSpace.getStaticConfigModel());
return model;
}

View File

@@ -137,6 +137,7 @@ public class DiagTask_gauge extends BaseDiagTask implements Gauge<Double>, NBPar
}
logger.info("Registering gauge for diag task with labels:" + getParentLabels().getLabels() + " label:" + label);
this.sampleValue=this.function.applyAsDouble(0L);
this.gauge=parent.create().gauge(
label,
() -> this.sampleValue,