Comments (3)
Pinging code owners:
- processor/k8sattributes: @dmitryax @rmfitzpatrick @fatsheep9146 @TylerHelmuth
See Adding Labels via Comments if you do not have permissions to add labels yourself.
from opentelemetry-collector-contrib.
Is prometheus_simple
from prometheus_simple/<ip:port>
the service name? If so, extracting the value from the resource attribute via the transformprocessor is a better way to go. https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/pkg/ottl/ottlfuncs#extractpatterns
from opentelemetry-collector-contrib.
Hi @TylerHelmuth , metrics service.name
label is set as prometheus_simple/<ip:port>
by the prometheus_simple receiver. The logic should be at this line of code.
So I came up with the idea to use k8sattributesprocessor
to set the service.name
from pod environment variable. Say if the pod has an environment variable OTEL_SERVICE_NAME=foo
or OTEL_RESOURCE_ATTRIBUTES=service.name=foo
, then the service.name
label will be set as foo
from opentelemetry-collector-contrib.
Related Issues (20)
- [resourcedetection] cpuinfo ignores the configured timeout in the resourcedetection processor HOT 5
- [exporter/elasticsearch] deprecate/remove dedot config HOT 1
- [exporter/elasticsearch] deprecate/remove dedup config HOT 1
- [exporter/datadog] Add headers to link RUM with mobile application traces HOT 1
- What's the replacement of `configschema` ?
- New component: Prometheus Remote Write receiver HOT 3
- swallowed exception in Operator.Process HOT 2
- [pkg/stanza] json_parser is a GC hot spot HOT 1
- New component: Valkey receiver HOT 1
- Getting cronjob-controller API logs from K8s HOT 1
- I don't see label filters on k8s.node.cpu.usage metrics when using kubeletstats receiver HOT 5
- [pkg/ottl] OTTL MD5 converter HOT 5
- k8s.pod.phase not providing correct info if my pod status is Crashbackoff look HOT 1
- Supervisor hangs when OpAMP server backend is restarted HOT 1
- k8sobjects to elasticsearch failed for the field app HOT 3
- Filter all the data sent by an application HOT 1
- loadbalancing: Collector fails to start if k8s_resolver encounters issues with watch/list endpoints HOT 1
- [exporter/file] Add posibility to write telemetry in Parquet or Delta format HOT 2
- [prometheus] Unable to run prometheus receiver in namespaced mode HOT 2
- W3C trace_id backwards compatibility may break multiple components. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-collector-contrib.