You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the sample example application - OnApplicationVersionBNodeBirthReceived is not receiving the birth metrics.
Looking at ShouldVersionBMetricBeAdded - shouldbeAdded is always false since the metrics are not in KnownMetrics
// Name only is set.
// Check if the metric is known.
if (!this.knownMetricsByName.TryGetValue(metric.Name, out var foundMetric))
{
shouldbeAdded = false;
this.Logger?.LogError("The metric {Metric} is removed because it is unknown.", metric);
}
Am I missing something? There would not be any know metrics until added from a birth message.
The text was updated successfully, but these errors were encountered:
Afterwards, you can Start the node / application to run or Stop it. The rest should be done automatically. I have changed the order of the examples however (Register event handlers before anything else happens), maybe that was also an issue (See 8b72a43)...
For more information, you can check #85 as well, where we discussed this.
Concluding:
Metrics must be known in advance.
If an unknown metric is received, it will be dropped (I agree, that this might change in the future as in the specs this would mean to send a Node Rebirth command as well though).
Using the sample example application - OnApplicationVersionBNodeBirthReceived is not receiving the birth metrics.
Looking at ShouldVersionBMetricBeAdded - shouldbeAdded is always false since the metrics are not in KnownMetrics
Am I missing something? There would not be any know metrics until added from a birth message.
The text was updated successfully, but these errors were encountered: