iisconfig

package
v0.59.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package iisconfig manages iis configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APMTags

type APMTags struct {
	DDService string
	DDEnv     string
	DDVersion string
}

APMTags holds the APM tags

func ReadDatadogJSON

func ReadDatadogJSON(datadogJSONPath string) (APMTags, error)

ReadDatadogJSON reads a datadog.json file and returns the APM tags

func ReadDotNetConfig

func ReadDotNetConfig(cfgpath string) (APMTags, error)

ReadDotNetConfig reads an iis config file(xml) and returns the APM tags

type DynamicIISConfig

type DynamicIISConfig struct {
	// contains filtered or unexported fields
}

DynamicIISConfig is an object that will watch the IIS configuration for changes, and reload the configuration when it changes. It provides additional methods for getting specific configuration items

func NewDynamicIISConfig

func NewDynamicIISConfig() (*DynamicIISConfig, error)

NewDynamicIISConfig creates a new DynamicIISConfig

func (*DynamicIISConfig) GetAPMTags

func (iiscfg *DynamicIISConfig) GetAPMTags(siteID uint32, urlpath string) (APMTags, APMTags)

GetAPMTags returns the APM tags for the given siteID and URL path

func (*DynamicIISConfig) GetSiteNameFromID

func (iiscfg *DynamicIISConfig) GetSiteNameFromID(id uint32) string

GetSiteNameFromID looks up a site name by its site ID

func (*DynamicIISConfig) Start

func (iiscfg *DynamicIISConfig) Start() error

Start config watcher

func (*DynamicIISConfig) Stop

func (iiscfg *DynamicIISConfig) Stop()

Stop config watcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL