Documentation
¶
Overview ¶
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
const ( EnvOTELServiceName = "OTEL_SERVICE_NAME" EnvOTELExporterOTLPEndpoint = "OTEL_EXPORTER_OTLP_ENDPOINT" EnvOTELResourceAttrs = "OTEL_RESOURCE_ATTRIBUTES" EnvOTELPropagators = "OTEL_PROPAGATORS" EnvOTELTracesSampler = "OTEL_TRACES_SAMPLER" EnvOTELTracesSamplerArg = "OTEL_TRACES_SAMPLER_ARG" EnvPodName = "OTEL_RESOURCE_ATTRIBUTES_POD_NAME" EnvPodUID = "OTEL_RESOURCE_ATTRIBUTES_POD_UID" EnvNodeName = "OTEL_RESOURCE_ATTRIBUTES_NODE_NAME" )
const ( EnvNewRelicAppName = "NEW_RELIC_APP_NAME" EnvNewRelicK8sOperatorEnabled = "NEW_RELIC_K8S_OPERATOR_ENABLED" EnvNewRelicLabels = "NEW_RELIC_LABELS" EnvNewRelicLicenseKey = "NEW_RELIC_LICENSE_KEY" )
const LicenseKey = "new_relic_license_key"
Variables ¶
var DefaultInjectorRegistry = NewInjectorRegistry()
var ErrInjectorAlreadyRegistered = errors.New("injector already registered in registry")
Functions ¶
This section is empty.
Types ¶
type DotnetInjector ¶ added in v0.14.0
type DotnetInjector struct {
// contains filtered or unexported fields
}
func (*DotnetInjector) ConfigureClient ¶ added in v0.14.0
func (*DotnetInjector) ConfigureLogger ¶ added in v0.14.0
func (*DotnetInjector) Language ¶ added in v0.14.0
func (i *DotnetInjector) Language() string
type GoInjector ¶ added in v0.14.0
type GoInjector struct {
// contains filtered or unexported fields
}
func (*GoInjector) ConfigureClient ¶ added in v0.14.0
func (*GoInjector) ConfigureLogger ¶ added in v0.14.0
func (*GoInjector) Language ¶ added in v0.14.0
func (i *GoInjector) Language() string
type InjectorRegistery ¶ added in v0.14.0
type InjectorRegistery struct {
// contains filtered or unexported fields
}
func NewInjectorRegistry ¶ added in v0.14.0
func NewInjectorRegistry() *InjectorRegistery
func (*InjectorRegistery) GetInjectors ¶ added in v0.14.0
func (ir *InjectorRegistery) GetInjectors() Injectors
func (*InjectorRegistery) MustRegister ¶ added in v0.14.0
func (ir *InjectorRegistery) MustRegister(injector Injector)
func (*InjectorRegistery) Register ¶ added in v0.14.0
func (ir *InjectorRegistery) Register(injector Injector) error
type JavaInjector ¶ added in v0.14.0
type JavaInjector struct {
// contains filtered or unexported fields
}
func (*JavaInjector) ConfigureClient ¶ added in v0.14.0
func (*JavaInjector) ConfigureLogger ¶ added in v0.14.0
func (*JavaInjector) Language ¶ added in v0.14.0
func (i *JavaInjector) Language() string
type NodejsInjector ¶ added in v0.14.0
type NodejsInjector struct {
// contains filtered or unexported fields
}
func (*NodejsInjector) ConfigureClient ¶ added in v0.14.0
func (*NodejsInjector) ConfigureLogger ¶ added in v0.14.0
func (*NodejsInjector) Language ¶ added in v0.14.0
func (i *NodejsInjector) Language() string
type PhpInjector ¶ added in v0.14.0
type PhpInjector struct {
// contains filtered or unexported fields
}
func (*PhpInjector) ConfigureClient ¶ added in v0.14.0
func (*PhpInjector) ConfigureLogger ¶ added in v0.14.0
type PythonInjector ¶ added in v0.14.0
type PythonInjector struct {
// contains filtered or unexported fields
}
func (*PythonInjector) ConfigureClient ¶ added in v0.14.0
func (*PythonInjector) ConfigureLogger ¶ added in v0.14.0
func (*PythonInjector) Language ¶ added in v0.14.0
func (i *PythonInjector) Language() string
type RubyInjector ¶ added in v0.14.0
type RubyInjector struct {
// contains filtered or unexported fields
}
func (*RubyInjector) ConfigureClient ¶ added in v0.14.0
func (*RubyInjector) ConfigureLogger ¶ added in v0.14.0
func (*RubyInjector) Language ¶ added in v0.14.0
func (i *RubyInjector) Language() string