Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Miryam-Schwartz committed Nov 26, 2024
1 parent d2dbf5e commit 13331d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@
},
"message_tag_name": {
"type": "string"
}
},
"timeout": {
"type": "integer",
"minimum": 1,
"err_message": "[telemetry-endpoint - timeout] attribute should be an integer greater than 0"
}
},
"required": [
"host",
Expand Down
3 changes: 3 additions & 0 deletions plugins/fluentd_telemetry_plugin/src/streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def __init__(self, conf_parser):
self.telem_parser = TelemetryParser(self.config_parser, self.streaming_metrics_mgr,
self.last_streamed_data_sample_per_endpoint,
self.attributes_mngr)
self.init_streaming_attributes()

def init_streaming_attributes(self):
self.attributes_mngr.init_streaming_attributes(self.telem_parser,
self.ufm_telemetry_endpoints, self.config_parser)

Expand Down

0 comments on commit 13331d9

Please sign in to comment.