Skip to content

Commit

Permalink
Merge pull request #64 from pradeep-dot-g/master
Browse files Browse the repository at this point in the history
Added the support for statsd rules to be added to the /opt/sfagent/st…
  • Loading branch information
deepamartin authored Aug 30, 2022
2 parents bf0d30f + 4e573fd commit c679f4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,13 @@ upgrade_apm_agent()
ls -l sfagent* checksum* >/dev/null
tar -zxvf sfagent*linux_$ARCH.tar.gz >/dev/null
mkdir -p $AGENTDIR/certs
mkdir -p $AGENTDIR/statsd_rules
mv -f sfagent $AGENTDIR
mv -f jolokia.jar $AGENTDIR
mv -f mappings/* $AGENTDIR/mappings/
mv -f scripts/* $AGENTDIR/scripts/
mv -f certs/* $AGENTDIR/certs/
mv -f statsd/* $AGENTDIR/statsd_rules/
mv -f normalization/* $AGENTDIR/normalization/
mv -f config.yaml.sample $AGENTDIR/config.yaml.sample

Expand Down Expand Up @@ -309,12 +311,14 @@ install_apm_agent()
mkdir -p $AGENTDIR/scripts
mkdir -p $AGENTDIR/certs
mkdir -p $AGENTDIR/normalization
mkdir -p $AGENTDIR/statsd_rules
mv sfagent $AGENTDIR
mv jolokia.jar $AGENTDIR
mv mappings $AGENTDIR/.
mv scripts $AGENTDIR/.
mv certs $AGENTDIR/.
mv normalization $AGENTDIR/.
mv statsd/* $AGENTDIR/statsd_rules
mv config.yaml.sample $AGENTDIR/config.yaml.sample
cat > $AGENTDIR/config.yaml <<EOF
agent:
Expand Down

0 comments on commit c679f4b

Please sign in to comment.