Feature request: Add support for server metadata in RollbarAppender XML configuration
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- observability
Research direction
Start at the RollbarAppender entry point and compare its XML-configurable properties with the Java ConfigBuilder server metadata example. Verify how the server host and metadata should be represented in XML, then confirm that a configured RollbarAppender passes both values through when logging.
Written by the indexing model from the issue text.
Description
Currently adding server metadata is only possible using java configuration example:
new ConfigBuilder.withAccessToken(accessToken)
.environment(hostConfiguration.getEnvironment())
.handleUncaughtErrors(true)
.truncateLargePayloads(true)
.language("java")
.framework("spring")
.server(() -> new Server.Builder()
.host(hostConfiguration.getHostId().getValue())
.metadata(Map.of(
"world", hostConfiguration.getWorld(),
"accountId", hostConfiguration.getAccountId()))
.build())
.codeVersion(gitProperties.getShortCommitId())
.build();
It would be nice if it was possible to add the server metadata from XML configuration in RollbarAppender for logback.
<appender name="rollbar-sync" class="com.rollbar.logback.RollbarAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>${rollbar.level}</level>
</filter>
<accessToken>${rollbar.api-key}</accessToken>
<codeVersion>@git.commit.id@</codeVersion>
<enabled>${rollbar.enabled}</enabled>
<environment>${environment}</environment>
<framework>spring-boot</framework>
<language>java</language>
<server>
<host>${host-id}</host>
<metadata>
<account>${accountId}</account>
<wrold>${world}</wrold>
</metadata>
</server>
</appender>
- Dominant language
- Java
- Stars
- 78
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rollbar/rollbar-java
-
ipv6 logging Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
rollbar/rollbar-java#312 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
rollbar/rollbar-java#245 ·
-
question
rollbar/rollbar-java#175 · 7 comments · 1 assignee ·
All issues in rollbar/rollbar-java
Similar issues
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/rocketmq-dashboard#5064 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
wso2/dpdp-accelerator#287 ·