Skip to content

Commit

Permalink
Logz.io agent v1.2.28 (#157)
Browse files Browse the repository at this point in the history
* added optional text, and desc (#118) (#119)

Co-authored-by: Adam Cazes <adamkek1@gmail.com>
Co-authored-by: Ral G <39119258+ralongit@users.noreply.github.com>

* Update functions.bash (#154)

---------

Co-authored-by: Miri Bar <37478344+mirii1994@users.noreply.github.com>
Co-authored-by: Adam Cazes <adamkek1@gmail.com>
Co-authored-by: Brad <94977210+JBG-brad@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 20, 2024
1 parent 21fd7d2 commit 137ae3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions configs/5-1-fetcher-azure.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
{
"type": "multi-select",
"name": "resource.group.ids",
"label": "Resource group names",
"label": "Resource group names (Optional)",
"required": false,
"description": "",
"description": "If left empty, Logz.io will pull all the resource groups under the subscription",
"hint": "",
"value": [],
"allowCustom": true,
Expand All @@ -88,7 +88,7 @@
{
"type": "key-value",
"name": "tags",
"label": "Tags",
"label": "Tags (Optional)",
"required": false,
"description": "",
"hint": "",
Expand All @@ -97,7 +97,7 @@
{
"type": "multi-select",
"name": "resource.types",
"label": "Resource Type",
"label": "Resource Type (Optional)",
"description": "Send metrics that include any of these resource types.",
"required": false,
"hint": "To send all resource types of the project select 'All services'",
Expand Down
2 changes: 1 addition & 1 deletion scripts/linux/functions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function get_linux_info {
send_log_to_logzio "$LOG_LEVEL_DEBUG" "$message" "$LOG_STEP_PRE_INIT" "$LOG_SCRIPT_AGENT" "$func_name" "$AGENT_ID"
write_log "$LOG_LEVEL_DEBUG" "$message"

local cpu_arch=$(uname -p 2>"$TASK_ERROR_FILE")
local cpu_arch=$(uname -m 2>"$TASK_ERROR_FILE")
if [[ $? -ne 0 ]]; then
message="agent.bash ($EXIT_CODE): error getting cpu arch: $(get_task_error_message)"
send_log_to_logzio "$LOG_LEVEL_ERROR" "$message" "$LOG_STEP_PRE_INIT" "$LOG_SCRIPT_AGENT" "$func_name" "$AGENT_ID"
Expand Down

0 comments on commit 137ae3d

Please sign in to comment.