forked from MattHodge/Graphite-PowerShell-Functions
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGraphite-Powershell.psm1
More file actions
26 lines (21 loc) · 843 Bytes
/
Graphite-Powershell.psm1
File metadata and controls
26 lines (21 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Set-StrictMode -Version Latest
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
# Determine The Path Of The XML Config File
$configPath = [string](Split-Path -Parent $MyInvocation.MyCommand.Definition) + '\StatsToGraphiteConfig.xml'
# Internal Functions
. $here\Functions\Internal.ps1
. $here\Functions\ConvertTo-GraphiteMetric.ps1
. $here\Functions\Send-BulkGraphiteMetrics.ps1
. $here\Functions\Send-GraphiteEvent.ps1
. $here\Functions\Send-GraphiteMetric.ps1
. $here\Functions\Start-SQLStatsToGraphite.ps1
. $here\Functions\Start-StatsToGraphite.ps1
$functionsToExport = @(
'ConvertTo-GraphiteMetric',
'Send-BulkGraphiteMetrics',
'Send-GraphiteEvent',
'Send-GraphiteMetric',
'Start-SQLStatsToGraphite',
'Start-StatsToGraphite'
)
Export-ModuleMember -Function $functionsToExport